Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229855 - dev-util/shflags (new ebuild)
Summary: dev-util/shflags (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/shflags/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-06-28 01:30 UTC by Maciej Blizinski
Modified: 2011-10-15 17:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
shflags-1.0.0.ebuild (shflags-1.0.0.ebuild,560 bytes, text/plain)
2008-06-28 01:31 UTC, Maciej Blizinski
Details
shflags-1.0.0.ebuild (shflags-1.0.0.ebuild,623 bytes, text/plain)
2008-06-28 14:22 UTC, Maciej Blizinski
Details
shflags-1.0.0.ebuild (shflags-1.0.0.ebuild,655 bytes, text/plain)
2008-07-14 13:06 UTC, Maciej Blizinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Blizinski 2008-06-28 01:30:18 UTC
Shell Flags – command-line flags module for Unix shell scripts



Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags in Bourne based Unix shell scripts (bash, dash, ksh, sh, zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.).

Most shell scripts use getopt for flags processing, but the different versions of getopt on various OSes make writing portable shell scripts difficult. shflags instead provides an API that doesn't change across shell and OS versions so the script writer can be confident that the script will work.

shFlags is a port of the google-gflags C++/Python library.


Reproducible: Always
Comment 1 Maciej Blizinski 2008-06-28 01:31:59 UTC
Created attachment 158709 [details]
shflags-1.0.0.ebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-28 13:58:36 UTC
You're misusing the doc use flag. It is for extended documentation. The basic  readme/changelog/releasenotes text file are to be installed unconditionally. For hello_world.sh you might use the examples use flag.
Comment 3 Maciej Blizinski 2008-06-28 14:22:08 UTC
Created attachment 158749 [details]
shflags-1.0.0.ebuild

Done.

- docs use flag removed
- examples use flag added
- src_test function added
Comment 4 Maciej Blizinski 2008-07-14 13:06:13 UTC
Created attachment 160327 [details]
shflags-1.0.0.ebuild

Added || die "..." to the test function.