Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284715 - Make has_version cat/foo[use=] work
Summary: Make has_version cat/foo[use=] work
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 335925
  Show dependency tree
 
Reported: 2009-09-12 17:34 UTC by Petteri Räty (RETIRED)
Modified: 2012-10-20 17:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2009-09-12 17:34:33 UTC
17:20 <@Betelgeuse> zmedico: basically dev-lang/perl[ithreads=] == use ithreads && dev-lang/perl[ithreads] and same for disabled
17:21 <@zmedico> oh, I see
17:21 <@zmedico> current package is parent
17:21 <@zmedico> that makes sense

From #paludis:
17:28 < dleverton> Betelgeuse: appears to work find in paludis, but not pkgcore
17:29 < dleverton> *fine
17:30 < Betelgeuse> dleverton: What's the behavior in paludis?
17:30 < Betelgeuse> dleverton: like use foo ? has_version cat/pkg[foo] : has_version cat/pkg[-foo] ?
17:30 < dleverton> It checks whether "use" on the installed cat/foo is in the same state as the "use" in the calling package
17:30 < dleverton> Pretty much, yeah
Comment 1 Zac Medico gentoo-dev 2012-10-20 17:38:40 UTC
This should be fixed since portage-2.1.9:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=df8fe2b2465df7af4f1f7fadba999ae9a1235d10