'Writes the new package file.'

def write(self, pkg_path):

    with open(pkg_path, 'w') as pkg_file:
        pkg_file.write(package_template.format(name=self.name, class_name=self.class_name, base_class_name=self.base_class_name, url=self.url, versions=self.versions, dependencies=self.dependencies, body=self.body))
