From 2ba193f01310cf2980dab881bff58e7bfeb33ea3 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Wed, 6 Jul 2011 17:35:10 -0700 Subject: 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 --- pym/_emerge/EbuildFetcher.py | 3 ++- pym/portage/const.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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", -- cgit v1.2.3-1-g7c22