Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@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: Wed, 30 Jul 2014 17:33:54
Message-Id: 53D92C71.5070208@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 Michael Haubenwallner
1 On 30/07/14 20:29, Michael Haubenwallner wrote:
2 > Am 2014-07-30 14:33, schrieb Samuli Suominen:
3 >> There is no need to package.mask if proper if -logic is used, like, for
4 >> example,
5 >>
6 >> if [[ ${PV} == 9999* ]]; then
7 >> inherit git-r3
8 >> KEYWORDS=""
9 >> else
10 >> KEYWORDS="~amd64 ~arm ~arm64 ~x86"
11 >> fi
12 >>
13 >> Then you can just `cp foo-9999.ebuild foo-1.2.3.ebuild` and it'll have
14 >> the KEYWORDS
15 >> ready, and 1.2.3 and 9999 ebuilds can be identical
16 > Which instance of the KEYWORDS line is touched by the ekeyword tool these days?
17 >
18 > To have ekeyword touch the else-part in the release ebuild, what about this:
19 >
20 > if [[ ${PV} == 9999* ]]; then
21 > inherit vcs...
22 > :; KEYWORDS=""
23 > else
24 > KEYWORDS="..."
25 > fi
26 >
27 > /haubi/
28 >
29
30 You are propably looking for this,
31 http://bugs.gentoo.org/show_bug.cgi?id=321475

Replies