Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280099 - ability to use category-based entries in /etc/portage/package.*
Summary: ability to use category-based entries in /etc/portage/package.*
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 335925
  Show dependency tree
Reported: 2009-08-02 20:33 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2010-09-22 04:14 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-02 20:33:28 UTC
It would greatly ease my maintainer-ship of ebuilds if I had the ability to do something like "xfce-base/* ~amd64" in package.keywords. This would eliminate one step of my process.

Alternatively, it was suggested to use @set syntax in package.keywords (which requires bug 244366 to be implemented) because you can make a set per category with something like:

15:12 < Arfrever> darkside_: FYI, the following code can be used to generate 
                  set for each category:
15:12 < Arfrever> [categories]
15:12 < Arfrever> class = portage.sets.dbapi.CategorySet
15:12 < Arfrever> multiset = true
15:12 < Arfrever> name_pattern = ${category}

However, I still think the original proposal would be more convenient from the user POV too. Please consider.
Comment 2 Zac Medico gentoo-dev 2010-09-22 04:14:11 UTC
This is fixed in 2.1.9.