Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support USE flags with inverted logic #123

Open
devurandom opened this issue Dec 29, 2020 · 3 comments
Open

Support USE flags with inverted logic #123

devurandom opened this issue Dec 29, 2020 · 3 comments
Labels

Comments

@devurandom
Copy link

dev-haskell/hledger-web supports the library-only useflag:

❯ q use -eD library-only
dev-haskell/hledger-web[library-only] Build for use with "yesod devel"

This appears to have a similar effect as the more popular useflag executable:

❯ q use -eD executable
dev-haskell/bytedump[executable] build executable file
dev-haskell/cpu[executable] build 'cpuid' tool
dev-haskell/highlighting-kate[executable] Build the Highlight executable.
dev-haskell/language-dot[executable] Build the `ppdot' executable
dev-haskell/skylighting[executable] Build the skylighting executable.
dev-haskell/skylighting-core[executable] Build the skylighting executable.
dev-haskell/texmath[executable] Compile test executable.
dev-haskell/zip-archive[executable] Build the Zip executable.
dev-php/agavi[executable] Install the "agavi" executable used to manage projects. This requires dev-php/phing, and may be omitted if you are (for example) deploying an existing site to a production server.
dev-haskell/bench-show[executable] Build executable as well as library
dev-haskell/bytedump[executable] build executable file
dev-haskell/citeproc[executable] Build citeproc executable
dev-haskell/cpu[executable] build 'cpuid' tool
dev-haskell/highlighter[executable] Install a "highlighter" executable
dev-haskell/highlighting-kate[executable] Build the Highlight executable.
dev-haskell/language-dot[executable] Build the `ppdot' executable
dev-haskell/skylighting[executable] Whether to build the skylighting program
dev-haskell/skylighting-core[executable] Build skylighting-extract tool
dev-haskell/texmath[executable] Compile test executable.
dev-haskell/zip-archive[executable] Build the Zip executable.

It would be nice if the useflags could be unified.

See-also: https://bugs.gentoo.org/show_bug.cgi?id=762256
See-also: https://bugs.gentoo.org/show_bug.cgi?id=762259

@ezzieyguywuf
Copy link
Contributor

I agree with this thinking.

@trofi would you consider a PR to hackport that makes this change?

@trofi
Copy link
Contributor

trofi commented Dec 30, 2020

Yes, that would be a useful hackport extension. https://bugs.gentoo.org/762256#c1 has some thoughts.

@ezzieyguywuf
Copy link
Contributor

ezzieyguywuf commented Dec 30, 2020 via email

@hololeap hololeap transferred this issue from gentoo-haskell/gentoo-haskell Oct 21, 2022
@hololeap hololeap changed the title dev-haskell/hledger-web - unify USE=library-only/executable Support USE flags with inverted logic Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants