Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187312 - simplify /etc/portage/package.keywords file
Summary: simplify /etc/portage/package.keywords file
Status: RESOLVED DUPLICATE of bug 140002
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 00:16 UTC by David Carlos Manuelda
Modified: 2007-08-01 07:17 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 David Carlos Manuelda 2007-08-01 00:16:04 UTC
I have all kde packets in /etc/portage/package.keywords with <package_name> ~amd64 in order to have always latest version on portage installed, but this way is a bit dirty, the file is too long with too much names inside.

I suggest the implementation of some kinda wildcard in this system. This could improve and simplify the package.keywords file (and this does not hurt anyone I think).

For example, allowing things like:

kde-* ~amd64

What about this idea?

Reproducible: Always
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-08-01 00:35:55 UTC
I think this idea was proposed before, but I don't recall what the response was. Alternatively, you can do it this way:

mkdir /etc/portage/package.keywords
find /usr/portage -type d -name 'kde-*' | sed 's:^/usr/portage/::' > /etc/portage/package.keywords/kde

The above is untested, but it *should* work.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-08-01 00:36:46 UTC
Actually, you'd need something like:

find /usr/portage -mindepth 2 -maxdepth 2 -type d -name 'kde-*' | sed 's:^/usr/portage/::' >
/etc/portage/package.keywords/kde
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-08-01 07:17:29 UTC

*** This bug has been marked as a duplicate of bug 140002 ***