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

Bug 498106

Summary: [Future EAPI] Wildcard slots in package dependency specifications
Product: Gentoo Hosted Projects Reporter: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Component: PMS/EAPIAssignee: PMS/EAPI <pms>
Status: CONFIRMED ---    
Severity: normal CC: esigra, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174380, 497994    

Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-01-14 22:15:20 UTC
It would be nice if we could have wildcard slots in ATOMs. 

Let's say an user wants to only long term stable kernels, then we could put SLOT="${PV}lts" in those ebuilds and allow users to specify :*lts in the world file.

Or if wildcards can only be put at the end, we could make it like SLOT="lts-${PV}" and allow users to specify :lts-* in the world file.

This feature would be helpful for bug #497994.

Maybe this is also applicable in the Portage tree, *unsure*...
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-01-14 22:21:24 UTC
Thinking further, this also makes it possible for users to depend on kernels in a certain branch; for example, specifying :3.12* in the world file would get kernels with SLOT="3.12", SLOT="3.12.1", SLOT="3.12.2", ...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-01-14 22:44:59 UTC
Sounds like a new can of worms. Remember that we need to distinguish 'same slot deps' (:=) and 'any slot deps' (:*).