Searched refs:pkg_json (Results 1 – 1 of 1) sorted by relevance
159 def add_pkg(self, tarball, pkg_json): argument160 pkg_json = PackageJson(pkg_json)161 base = os.path.join(self.__path, pkg_json.base_filename())163 with Manifest(base, pkg_json) as manifest:165 tarball_uri = self._tarball_uri(pkg_json)167 meta['versions'][pkg_json.version] = pkg_json.as_manifest_entry(tarball_uri)174 self.__cache.run('meta', self._meta_uri(pkg_json), manifest.filename);