Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/x265: x265-1.0.ebuild ChangeLog x265-1.2.ebuild x265-0.8.ebuild
Date: Thu, 31 Jul 2014 07:19:33
Message-Id: 53D9EDFA.4040200@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/x265: x265-1.0.ebuild ChangeLog x265-1.2.ebuild x265-0.8.ebuild by Samuli Suominen
1 Am 2014-07-30 19:33, schrieb Samuli Suominen:
2 >
3 > On 30/07/14 20:29, Michael Haubenwallner wrote:
4 >> Am 2014-07-30 14:33, schrieb Samuli Suominen:
5 >>> There is no need to package.mask if proper if -logic is used, like, for
6 >>> example,
7 >>>
8 >>> if [[ ${PV} == 9999* ]]; then
9 >>> inherit git-r3
10 >>> KEYWORDS=""
11 >>> else
12 >>> KEYWORDS="~amd64 ~arm ~arm64 ~x86"
13 >>> fi
14 >>>
15 >>> Then you can just `cp foo-9999.ebuild foo-1.2.3.ebuild` and it'll have
16 >>> the KEYWORDS
17 >>> ready, and 1.2.3 and 9999 ebuilds can be identical
18 >> Which instance of the KEYWORDS line is touched by the ekeyword tool these days?
19 >>
20 >> To have ekeyword touch the else-part in the release ebuild, what about this:
21 >>
22 >> if [[ ${PV} == 9999* ]]; then
23 >> inherit vcs...
24 >> :; KEYWORDS=""
25 >> else
26 >> KEYWORDS="..."
27 >> fi
28 >>
29 >> /haubi/
30 >>
31 >
32 > You are propably looking for this,
33 > http://bugs.gentoo.org/show_bug.cgi?id=321475
34 >
35
36 Indeed, thanks!
37
38 /haubi/