Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USE_EXPAND
Date: Fri, 21 Jul 2017 09:59:21
Message-Id: 15801851.PebdqV2Sqb@dell_xps
In Reply to: Re: [gentoo-user] USE_EXPAND by Mart Raudsepp
1 On Friday 21 Jul 2017 12:35:39 Mart Raudsepp wrote:
2 > Ühel kenal päeval, R, 21.07.2017 kell 10:30, kirjutas Mick:
3 > > Where is the best place to put USE_EXPAND flags? In
4 > > /etc/portage/make.conf,
5 > > or in some other file, e.g. /etc/portage/env/<category>/<package>
6 >
7 > /etc/portage/package.use (file or a file in that as a directory)
8 >
9 > The syntax is like this:
10 >
11 > dev-python/foo PYTHON_TARGETS: python3_6 # Add python3.6 support
12 >
13 > It also supports wildcard, so you can do this for all with just
14 > */* USE_EXPAND_NAME: my choices
15 > or if you want to force things, overriding profiles:
16 > */* USE_EXPAND_NAME: -* my choices
17
18 Thanks, I had tried it in package.use like this:
19
20 dev-python/foo flag1 flag2 -flag3 PYTHON_TARGETS="python3_6"
21
22 and but it did not process PYTHON_TARGETS. I'll change the syntax to what you
23 suggest and try again.
24 --
25 Regards,
26 Mick

Attachments

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