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
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.
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
*** This bug has been marked as a duplicate of bug 140002 ***