Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Petteri Räty <betelgeuse@g.o>
Subject: Re: Making built_with_use die by default with EAPI 2
Date: Tue, 23 Sep 2008 23:33:44 +0300
Bo Ørsted Andresen kirjoitti:
> On Monday 22 September 2008 22:25:20 Petteri Räty wrote:
>>> If you mean something like
>>>
>>>     built_with_use cat/foo coolfeature || ewarn "bar will be more useful if you rebuild cat/foo with USE=coolfeature" 
>>>
>>> then you can use
>>>
>>>     has_version 'cat/foo[coolfeature]' || ...
>>>
>>> instead.
>> What does this report if cat/foo does not have coolfeature use flag in
>> some version? Meaning can this support cases which need --missing true.
> 
> False. If for instance coolfeature was made optional in >=pv you can use logic
> like:
> 
> if has_version '>=cat/foo-pv' && ! has_version 'cat/foo[coolfeature]'; then
>    ewarn '...'
> fi
> 

I think this should cover all the current functionality with 
built_with_use. So when before EAPI 2 goes live I will commit:

23:29 < zmedico> has EAPI 0 1 || die "build_with_use is only allowed in 
EAPI 0 or 1"

Unless someone objects with good reasoning of course.

Regards,
Petteri


Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: Making built_with_use die by default with EAPI 2
-- Alexis Ballier
References:
Making built_with_use die by default with EAPI 2
-- Petteri Räty
Re: Making built_with_use die by default with EAPI 2
-- David Leverton
Re: Making built_with_use die by default with EAPI 2
-- Petteri Räty
Re: Making built_with_use die by default with EAPI 2
-- Bo Ørsted Andresen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Making built_with_use die by default with EAPI 2
Next by thread:
Re: Making built_with_use die by default with EAPI 2
Previous by date:
Re: Re: Default src_install for EAPI-2 or following EAPI
Next by date:
Re: Making built_with_use die by default with EAPI 2


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.