Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775476 - portage: --usepkg-exclude should allow "*::overlay"
Summary: portage: --usepkg-exclude should allow "*::overlay"
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-11 15:57 UTC by wolfgang
Modified: 2021-03-27 14:52 UTC (History)
1 user (show)

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 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.