Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: qt.eclass
Date: Thu, 30 Jun 2005 19:17:18
Message-Id: 200506301515.05333.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: qt.eclass by Donnie Berkholz
1 On Thursday 30 June 2005 02:58 pm, Donnie Berkholz wrote:
2 > Caleb Tennis wrote:
3 > > DEPEND="$(qt_min_version 3.0)"
4 > > or
5 > > DEPEND="qt? ( $(qt_min_version 3.1.2-r2) )"
6 > >
7 > > And the eclass will expand out all Qt3 ebuilds which satisfy the
8 > > statement.
9 >
10 > I'm no expert on portage, but running random functions in DEPEND sounds
11 > like a bad idea.
12
13 it depends on the information that the function acts upon ...
14
15 if the results depend on stuff that is installed (i.e. things in /var/db/pkg)
16 or env vars the user manipulates (like $SOME_FOO), then that's bad ... if the
17 results depend on a variable that changes across ebuilds but retains the same
18 value in a specific ebuild (like $PN or $PV), that is OK
19 -mike
20 --
21 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] RFC: qt.eclass Caleb Tennis <caleb@g.o>