[gentoo-portage-dev] [PATCH] config: default features USE for conditional RESTRICT (bug 663848)

2018-08-17 Thread Zac Medico
Initialize default features USE state, and reset when appropriate, so that the "test" flag state is correct for evaluation of !test? conditionals in RESTRICT. Fixes: 45986341a80c ("Support !test? conditionals in RESTRICT (bug 663278)") --- lib/portage/package/ebuild/config.py | 13 +++--

[gentoo-portage-dev] [PATCH] LocationsManager: map empty root var to / (bug 663904)

2018-08-17 Thread Zac Medico
When ROOT or PORTAGE_CONFIGROOT is entirely empty, map the value to / since otherwise is becomes the current working directory which gives undesirable results. Bug: https://bugs.gentoo.org/663904 --- lib/portage/package/ebuild/_config/LocationsManager.py | 5 ++--- 1 file changed, 2