Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Multiple Repo Support
Date: Tue, 27 Dec 2005 18:03:57
Message-Id: 20051227175926.61b6268d@snowdrop.home
In Reply to: Re: [gentoo-dev] Multiple Repo Support by Carsten Lohrke
1 On Tue, 27 Dec 2005 18:44:01 +0100 Carsten Lohrke <carlo@g.o>
2 wrote:
3 | On Tuesday 27 December 2005 18:10, Ciaran McCreesh wrote:
4 | > eclass, and no -r bump.
5 |
6 | Then it would not be possible to build the Application against
7 | different KDE versions and those who want to stay with a previous KDE
8 | version wouldn't be able to install any application.
9
10 Sure they would. In the eclass, do something like (untested, buggy,
11 just a vague proof of concept not real code):
12
13 s=
14 for s_p in ${KDE_NEEDS_PACKAGES} ; do
15 s_s=
16 for s_v in 3.3 3.4 4.0 ; do
17 [[ -z ${KDE_MIN_VER} ]] || version_is_at_least ${KDE_MIN_VER}
18 s_v || continue
19 s_s="${s_s} ${s_p}:${s_v}"
20 done
21 DEPEND="${DEPEND} || ( ${s_s} )"
22 done
23
24 | And conditional dependencies would break caching.
25
26 Nnnope. If you modify an eclass it forces a cache regen for packages
27 using said eclass (except possibly if you're using an overlay, but
28 that's a separate issue...).
29
30 --
31 Ciaran McCreesh : Gentoo Developer (I can kill you with my brain)
32 Mail : ciaranm at gentoo.org
33 Web : http://dev.gentoo.org/~ciaranm

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Multiple Repo Support Carsten Lohrke <carlo@g.o>