Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368)
Date: Fri, 04 Aug 2006 19:40:20
Message-Id: 44D3A23F.6060501@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368) by Brian Harring
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Brian Harring wrote:
5 > On Thu, Aug 03, 2006 at 12:23:58PM -0700, Zac Medico wrote:
6 >> Hi everyone,
7 >>
8 >> I've written a patch [1] that adds support for package.use.mask in the profile. It should behave exactly as use.mask currently does except that it allows USE flags to be masked for specific packages rather than for all packages.
9 >>
10 >> In previous discussion it's been noted that package.mask + use deps would be an alternative way to express this type of masking. However, package.use.mask + use deps would have the added ability to mask certain USE flags based on other flags that have been selected for a package. Either way, the per-package use.mask functionality is certainly needed. Shall we go ahead with the package.use.mask implementation or not?
11 >>
12 >> Zac
13 >>
14 >> [1] http://dev.gentoo.org/~zmedico/portage/branches/2.1/patches/package.use.mask.patch
15 >
16 > Since you're sliding this in, why not slide it in using use dep
17 > syntax?
18
19 I haven't seen a specification for use dependencies yet, so I'm not quite sure how they'd work.
20
21 > No, not going to fight over this not being in package.mask, what I'm
22 > saying is this _is_ masking of a use dep atom, just use use dep syntax
23 > in the file instead.
24 >
25 > If y'all get use deps, it'll be a bit simpler for folks to support
26 > then the existing crappy format used imo.
27
28 > Plus, parsing it's easy.
29 > ~harring
30
31 Is the existing format of of use.mask bad? What about package.use? The implementation that I've proposed is a combination of these two formats that everyone is already familiar with.
32
33 Zac
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v1.4.5 (GNU/Linux)
36
37 iD8DBQFE06I+/ejvha5XGaMRArmfAJ9TvScSWpx55NLTMghex4EXZv3lZACeJqJV
38 uwUp2/rmg2c8RdXwxUji4EU=
39 =LQd/
40 -----END PGP SIGNATURE-----
41 --
42 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368) Brian Harring <ferringb@×××××.com>