Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498106 - [Future EAPI] Wildcard slots in package dependency specifications
Summary: [Future EAPI] Wildcard slots in package dependency specifications
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: future-eapi 497994
  Show dependency tree
 
Reported: 2014-01-14 22:15 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2021-03-21 05:06 UTC (History)
2 users (show)

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 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' (:*).