Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH v2] Replace implicit {FEATURES->USE}=test forcing with USE default
Date: Tue, 31 Jul 2018 17:00:40
Message-Id: fb437aeb-ee7c-9c0c-29a5-963a7784fc3f@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v2] Replace implicit {FEATURES->USE}=test forcing with USE default by "Michał Górny"
1 On 07/31/2018 03:31 AM, Michał Górny wrote:
2 > Use an explicit USE_ORDER entry to control mapping FEATURES=test into
3 > default-enabled USE=test, rather than forcing/masking it depending
4 > on the state of FEATURES.
5 >
6 > This makes it possible for users to enable (or disable) USE=test
7 > independently of FEATURES. An example use case is installing test
8 > dependencies and building test cases without actually running tests
9 > at a particular moment which is something I've been doing quite
10 > frequently with LLVM.
11 > ---
12 > cnf/make.globals | 2 +-
13 > lib/portage/eapi.py | 2 +-
14 > lib/portage/package/ebuild/config.py | 52 +++++----
15 > .../tests/resolver/test_features_test_use.py | 108 +++++++++++-------
16 > man/make.conf.5 | 6 +-
17 > 5 files changed, 102 insertions(+), 68 deletions(-)
18
19 Looks good, please merge.
20 --
21 Thanks,
22 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature