Gentoo Archives: gentoo-dev

From: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
To: Gentoo Development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] [RFC] [EAPI=3] Add approprietly prefixed values of IUSE_* variables to IUSE
Date: Sun, 05 Jul 2009 02:33:41
Message-Id: 200907050434.04188.Arfrever@gentoo.org
1 I would like to suggest that values of IUSE_* variables (whose names end with
2 values of USE_EXPAND variable), after prefixing with lower-cased names of
3 appropriate variables included in USE_EXPAND, should be automatically added
4 to IUSE variable.
5
6 Example:
7 IUSE="abc"
8 IUSE_LINGUAS="en fr +la pl ru"
9
10 Effective IUSE would be "abc linguas_en linguas_fr +linguas_la linguas_pl linguas_ru".
11
12 Currently ebuilds need to manually add such flags to IUSE.
13
14 It's a zero-cost feature implemented in the attached patch, so including it
15 in EAPI=3 (after temporary unlocking of list of features of EAPI=3) wouldn't
16 delay implementing support for EAPI=3 in Portage.
17
18 --
19 Arfrever Frehtes Taifersar Arahesis

Attachments

File name MIME type
portage-IUSE_variables.patch text/x-patch
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [RFC] [EAPI=3] Add approprietly prefixed values of IUSE_* variables to IUSE David Leverton <levertond@××××××××××.com>
Re: [gentoo-dev] [RFC] [EAPI=3] Add approprietly prefixed values of IUSE_* variables to IUSE Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>