From: Brian Harring Date: Thu, 7 Jul 2011 00:35:10 +0000 (-0700) Subject: add FEATURES=allow-missing-manifests X-Git-Tag: v2.2.0_alpha44~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ba193f01310cf2980dab881bff58e7bfeb33ea3;p=portage.git add FEATURES=allow-missing-manifests The feature is as it sounds- primarily useful for temporary trees or instances where manifests aren't used. Signed-off-by: Brian Harring --- diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py index c9a107dac..215024165 100644 --- a/pym/_emerge/EbuildFetcher.py +++ b/pym/_emerge/EbuildFetcher.py @@ -107,10 +107,11 @@ class EbuildFetcher(SpawnProcess): not in ('yes', 'true') rval = 1 + allow_missing = 'allow-missing-manifests' in self._settings.features try: if fetch(self._uri_map, self._settings, fetchonly=self.fetchonly, digests=copy.deepcopy(self._digests), - allow_missing_digests=False): + allow_missing_digests=allow_missing): rval = os.EX_OK except SystemExit: raise diff --git a/pym/portage/const.py b/pym/portage/const.py index 6bca8f95a..ecaa8f1d3 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -86,6 +86,7 @@ EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure" "package", "preinst", "postinst","prerm", "postrm", "nofetch", "config", "info", "other") SUPPORTED_FEATURES = frozenset([ + "allow-missing-manifests", "assume-digests", "binpkg-logs", "buildpkg", "buildsyspkg", "candy", "ccache", "chflags", "collision-protect", "compress-build-logs", "digest", "distcc", "distcc-pump", "distlocks", "ebuild-locks", "fakeroot",