summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/EbuildFetcher.py3
-rw-r--r--pym/portage/const.py1
2 files changed, 3 insertions, 1 deletions
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",