[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/x265: x265-1.0.ebuild ChangeLo
From:       Michael Haubenwallner <haubi () gentoo ! org>
Date:       2014-07-31 7:19:22
Message-ID: 53D9EDFA.4040200 () gentoo ! org
[Download RAW message or body]


Am 2014-07-30 19:33, schrieb Samuli Suominen:
> 
> On 30/07/14 20:29, Michael Haubenwallner wrote:
>> Am 2014-07-30 14:33, schrieb Samuli Suominen:
>>> There is no need to package.mask if proper if -logic is used, like, for
>>> example,
>>>
>>> if [[ ${PV} == 9999* ]]; then
>>> inherit git-r3
>>> KEYWORDS=""
>>> else
>>> KEYWORDS="~amd64 ~arm ~arm64 ~x86"
>>> fi
>>>
>>> Then you can just `cp foo-9999.ebuild foo-1.2.3.ebuild` and it'll have
>>> the KEYWORDS
>>> ready, and 1.2.3 and 9999 ebuilds can be identical
>> Which instance of the KEYWORDS line is touched by the ekeyword tool these days?
>>
>> To have ekeyword touch the else-part in the release ebuild, what about this:
>>
>> if [[ ${PV} == 9999* ]]; then
>>   inherit vcs...
>>   :; KEYWORDS=""
>> else
>>   KEYWORDS="..."
>> fi
>>
>> /haubi/
>>
> 
> You are propably looking for this,
> http://bugs.gentoo.org/show_bug.cgi?id=321475
> 

Indeed, thanks!

/haubi/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic