Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: aballier@g.o
Subject: Re: [gentoo-dev] Unified DEPENDENCIES concept
Date: Fri, 07 Sep 2012 20:12:18
Message-Id: 20120907221051.4a7a6bde@pomiocik.lan
In Reply to: Re: [gentoo-dev] Unified DEPENDENCIES concept by Alexis Ballier
1 On Fri, 7 Sep 2012 16:59:48 -0300
2 Alexis Ballier <aballier@g.o> wrote:
3
4 > On Fri, 7 Sep 2012 20:21:03 +0200
5 > Michał Górny <mgorny@g.o> wrote:
6 >
7 > > On Fri, 7 Sep 2012 14:40:25 -0300
8 > > Alexis Ballier <aballier@g.o> wrote:
9 > >
10 > > > On Fri, 7 Sep 2012 18:03:51 +0200
11 > > > Michał Górny <mgorny@g.o> wrote:
12 > > >
13 > > > > On Fri, 7 Sep 2012 12:46:41 -0300
14 > > > > Alexis Ballier <aballier@g.o> wrote:
15 > > > >
16 > > > > > I actually do like the concept but I'm not sure we can reach
17 > > > > > consensus about '*DEPEND vs DEPENDENCIES'; a possibility to
18 > > > > > get people used to it could be to have two parallel EAPIs,
19 > > > > > like 6 and 6-dependencies, where the former will keep the old
20 > > > > > style and the latter use DEPENDENCIES.
21 > > > >
22 > > > > With eclasses supporting both of them? That's more than crazy.
23 > > >
24 > > > depstr=cat/foo
25 > > >
26 > > > case $EAPI in
27 > > > *-dependencies) DEPENDENCIES="build+run: $depstr";;
28 > > > *) DEPEND="$depstr"
29 > > > RDEPEND="$depstr";;
30 > > > esac
31 > >
32 > > Yes, we have many eclasses where this is actually the only expected
33 > > result. Maybe start with python.eclass, that should be quite an
34 > > extreme example.
35 > >
36 >
37 > Reference needed. You probably didn't even think more than 2 seconds
38 > before making this claim about python.eclass, because it is not
39 > particularly hard.
40
41 Hmm, didn't it used to support having python as DEPEND only?
42
43 In any case, I'm thinking more of that line. Eclasses which sometimes
44 add RDEP+DEP, sometimes DEP only, and sometimes do even crazier things.
45
46 --
47 Best regards,
48 Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Unified DEPENDENCIES concept Ian Stakenvicius <axs@g.o>