Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: axs@g.o
Subject: Re: [gentoo-dev] Getting EAPI 5 *use.stable.mask to work in gx86?
Date: Tue, 11 Dec 2012 06:33:24
Message-Id: 20121211073218.0edd117f@pomiocik.lan
In Reply to: Re: [gentoo-dev] Getting EAPI 5 *use.stable.mask to work in gx86? by Ian Stakenvicius
1 On Mon, 10 Dec 2012 21:01:34 -0500
2 Ian Stakenvicius <axs@g.o> wrote:
3
4 > -----BEGIN PGP SIGNED MESSAGE-----
5 > Hash: SHA256
6 >
7 > On 10/12/12 04:27 PM, Michał Górny wrote:
8 > > Hello,
9 > >
10 > > I think we're mostly aware what the use and benefits of the
11 > > *use.stable.mask files are.
12 > >
13 > > They would be at least really useful in Python ebuilds, where we
14 > > have to either:
15 > >
16 > > a) forcedly stabilize a particular Python implementation (like
17 > > pypy),
18 > >
19 > > b) don't support it all,
20 > >
21 > > c) or just keep two package revisions around, one with 'stable'
22 > > Python implementations for stabilization and the other with all
23 > > implementations for testing users.
24 > >
25 > >
26 > > Therefore, having *use.stable.mask would be at least helpful to us.
27 > > But as far as I can see, the spec says we can use it only in
28 > > profile dirs with EAPI 5...
29 > >
30 > > So far, I doubt anyone would want us to migrate our major profiles
31 > > to a newer EAPI, like EAPI 4, not to mention fresh 5. And of
32 > > course, that wouldn't follow our migration path practices.
33 > >
34 > >
35 > > Therefore, I see the following solutions:
36 > >
37 > > 1) duplicate most of the major profiles. Make an EAPI 5-enabled
38 > > wrapper profiles which will provide the *use.stable.mask files.
39 > > Require users to migrate to those profiles after getting an EAPI 5
40 > > capable package manager (how?). Possibly mask the relevant flags
41 > > completely in other profiles.
42 > >
43 > >
44 > > 2) change the rules. Make *use.stable.mask files not require EAPI
45 > > 5 profile dirs but apply only to EAPI 5 packages. The outcome is
46 > > similar -- package managers without the feature ignore the ebuilds.
47 > > If they have EAPI 5, they should be able to handle stable unmasking
48 > > as well.
49 > >
50 > > Of course, it all falls apart because of package manager
51 > > strictness. We may want to change that retroactively and quickly
52 > > release updated package managers before the EAPI 5 support is
53 > > spread wider (assuming some transitional period before we will
54 > > start using the files), or defer it into EAPI 6.
55 > >
56 > >
57 > > Either way, I believe that *use.stable.mask would be very helpful
58 > > if we were able to use it. What are your thoughts?
59 > >
60 >
61 > I wonder how (2) would really differ from the current situation -- ie,
62 > if there's a use.stable.mask file in a profiles dir, and portage is
63 > too old to support it, doesn't it just get ignored?
64
65 Well, assuming the EAPI 5 support is applied at once, that portage
66 version will ignore EAPI 5 packages as well, making the file therefore
67 irrelevant.
68
69 --
70 Best regards,
71 Michał Górny

Attachments

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