Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 284715

Summary: Make has_version cat/foo[use=] work
Product: Portage Development Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 335925    

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