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: Bo Ørsted Andresen <bo.andresen@...>
Subject: Re: Making built_with_use die by default with EAPI 2
Date: Wed, 24 Sep 2008 01:09:02 +0200
On Tuesday 23 September 2008 22:44:35 Alexis Ballier wrote:
> > > 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.
>
> This is just an ugly hack. Think about a package that has coolfeature
> useflag removed and enabled by default for a couple of releases because
> it wouldn't build without it and once upstream sorted out everything
> the useflag is coming back. Missing useflags that are assumed to be
> enabled have nothing to do with the package version being greater than
> a given number.

If it is needed that often we should add support for stating the state of the 
use flag in dependencies. With the currently planned eapi 2 you get 
dependencies such as:

DEPEND="|| ( >=cat/foo-pv[coolfeature] <cat-foo-pv )"

too. Doing the same with has_version is only consistent with that. If we add 
support for it in dependency syntax it will work with has_version too...

-- 
Bo Andresen
Attachment:
signature.asc (This is a digitally signed message part.)
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
-- Petteri Räty
Re: Making built_with_use die by default with EAPI 2
-- Alexis Ballier
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: Making built_with_use die by default with EAPI 2
Next by date:
Re: Re: Default src_install for EAPI-2 or following EAPI


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.