Gentoo Archives: gentoo-dev

From: Peter Volkov <pva@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog
Date: Fri, 01 Jul 2011 13:25:04
Message-Id: 1309526638.20613.11.camel@tablet
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog by Ciaran McCreesh
1 В Птн, 01/07/2011 в 09:09 +0100, Ciaran McCreesh пишет:
2 > On Fri, 01 Jul 2011 12:03:41 +0400
3 > Peter Volkov <pva@g.o> wrote:
4 > > > pkg_setup() {
5 > > > if use scripts && use !xmlrpc && use !metalink; then
6 > >
7 > > This really calls for REQUIRED_USE from EAPI="4".
8 > >
9 > > REQUIRED_USE="scripts? ( ^^ ( xmlrpc metalink ) )"
10 >
11 > That's not the same condition as the one in the pkg_setup.
12
13 Ah, yea. I guess any of xmlrpc or metalink are required for scripts. So,
14 correct one should be:
15
16 REQUIRED_USE="scripts? ( || ( xmlrpc metalink ) )"
17
18 --
19 Peter.