Currently, it looks like one must set ~arch in package.keywords for each individual package. It would be useful to set it for entire categories (for example, setting all of gnome to use ~arch). I have a short patch that extends the =* operator to work on package names, so it matches prefixes. That means that: =*gnome-base/ ~amd64 in package.keywords will allow ~amd64 for all packages with names beginning with gnome-base/ . I'll attach the patch to this bug. Reproducible: Always Steps to Reproduce:
Created attachment 37117 [details, diff] An implementation of the requested feature
*** This bug has been marked as a duplicate of 57153 ***