Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 775476

Summary: portage: --usepkg-exclude should allow "*::overlay"
Product: Portage Development Reporter: wolfgang <ezzieyguywuf>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description wolfgang 2021-03-11 15:57:44 UTC
I think the --usepkg-exclude feature is great (thanks!), but I find that it would be useful to exclude any binpkgs that were created in an overlay.

This would be helpful when developing, say, an ebuild in ::gentoo that depends on packages that are present in both ::gentoo and ::haskell.

By issuing --usepkg-exclude="*::haskell", I can be sure that I'm replicated the use-case where a user is not using the haskell overlay.

Reproducible: Always

Steps to Reproduce:
1. emerge --usepkg-exclude="*::haskell" pandoc

Actual Results:  
"emerge: error: Invalid Atom(s) is --usepkg-exclude parameter"

Expected Results:  
No error
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-11 22:22:16 UTC
I think slightly more conformant syntax would be:
    $ emerge --usepkg-exclude="*/*::haskell" pandoc
which is not accepted today.