Gentoo Archives: gentoo-dev

From: Donnie Berkholz <spyderous@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND)
Date: Wed, 28 Sep 2005 06:25:42
Message-Id: 433A36C6.7000705@gentoo.org
In Reply to: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND) by Jason Stubbs
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Jason Stubbs wrote:
5 | On Wednesday 28 September 2005 13:19, Donnie Berkholz wrote:
6 | IUSE="baz bop"
7 | iuse_expand VIDEO_CARDS foo bar
8
9 This has the ring of hack to me, if it's something to be used in ebuilds.
10
11 |>In addition, it saves IUSE from having super-long flags:
12 |>
13 |>IUSE="video_cards_foo video_cards_bar video_cards_baz ... " -- picture
14 |>that repeated 10 times. It's just plain ugly and overly long.
15 |
16 |
17 | It doesn't save anything because internally it needs to be done that way
18 | regardless. The only difference between the two patches is that one has
19 | IUSE="..." and the other has IUSE_EXPAND="...".
20
21 Right on, but portage is a lot more internal than ebuilds.
22
23 |>Most importantly IMHO, it suggests that users should set
24 |>USE="video_cards_foo" instead of VIDEO_CARDS="foo".
25 |
26 |
27 | Users don't see it either way, so I can't see how it suggests anything.
28
29 Let me narrow that to users who look at ebuilds to figure out wtf is
30 going on with USE_EXPAND because they have no idea how to use it.
31
32 Thanks,
33 Donnie
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v1.4.2 (GNU/Linux)
36
37 iD8DBQFDOjbGXVaO67S1rtsRAobfAJ9MVftU8dklnq6t+MFaMrmHHbFtiQCg5o06
38 Lh26STJWnP8Ph6gJT5k9sus=
39 =kv7o
40 -----END PGP SIGNATURE-----
41 --
42 gentoo-dev@g.o mailing list

Replies