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

Bug 762256

Summary: dev-haskell/yaml - unify USE=no-exe/executable
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=762259
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Schridde 2020-12-28 15:15:44 UTC
dev-haskell/yaml supports the "no-exe" useflag:

❯ q use -eD no-exe
dev-haskell/yaml[no-exe] don't install the yaml2json executable
dev-haskell/yaml[no-exe] don't install the yaml2json or json2yaml executables

The more popular useflag among dev-haskell packages appears to be "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.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-29 09:19:13 UTC
That makes sense. We might need to add direct support for flag mapping into hackport that allows not just renames (current `-ffoo:bar`) but also flag inversions.
Comment 2 Mark Wright gentoo-dev 2022-07-23 13:18:36 UTC
Fixed, thanks for reporting:

# q use -eD executable
dev-haskell/bytedump[executable] build executable file
dev-haskell/citeproc[executable] Build citeproc executable
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/unicode-collation[executable] Build the unicode-collate executable.
dev-haskell/yaml[executable] Install the yaml2json and json2yaml executables
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.
sci-mathematics/primecount[executable] Build the primecount CLI executable
sci-mathematics/primesieve[executable] Build the primesieve CLI executable
# 

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342aee5ad39bcf0e180d04f0350f4d21920cb2be