Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Fix spurious dep to eselect-python
Date: Tue, 20 Mar 2012 21:06:11
Message-Id: 20120320180517.29836436@gentoo.org
In Reply to: Re: [gentoo-dev] Fix spurious dep to eselect-python by Alexis Ballier
1 On Tue, 20 Mar 2012 17:57:29 -0300
2 Alexis Ballier <aballier@g.o> wrote:
3
4 > On Tue, 20 Mar 2012 20:35:17 +0100
5 > Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> wrote:
6 >
7 > > 2012-03-20 17:53:56 Michał Górny napisał(a):
8 > > > On Tue, 20 Mar 2012 17:41:39 +0100
9 > > > Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> wrote:
10 > > >
11 > > > > 2012-03-20 05:29:20 Luca Barbato napisał(a):
12 > > > > > Hi, I tried to avoid depending on eselect-python if the
13 > > > > > useflag is disabled.
14 > > > > >
15 > > > > > Please test and review.
16 > > > >
17 > > > > The proper fix is to make python.eclass add dependency on
18 > > > > app-admin/eselect-python only when ${CATEGORY}/${PN} is
19 > > > > dev-lang/python, dev-java/jython or dev-python/pypy. See bug
20 > > > > #341037.
21 > > >
22 > > > Couldn't we just push that dependency to the specific ebuilds?
23 > >
24 > > We want to control required version (>=20091230 in case of
25 > > app-admin/eselect-python) in 1 place.
26 > >
27 >
28 > this can be achieved by setting a variable that said ebuilds will
29 > append to (R)DEPEND; no need for complex 'if then else' on CAT/PN in
30 > an eclass for this.
31 >
32
33 or also by adding a new python-implementation.eclass instead of
34 polluting an eclass used by hundreds of packages for only 3 special
35 ones...

Replies

Subject Author
Re: [gentoo-dev] Fix spurious dep to eselect-python Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
Re: [gentoo-dev] Fix spurious dep to eselect-python Mike Gilbert <floppym@g.o>