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
Created attachment 158709 [details] shflags-1.0.0.ebuild
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.
Created attachment 158749 [details] shflags-1.0.0.ebuild Done. - docs use flag removed - examples use flag added - src_test function added
Created attachment 160327 [details] shflags-1.0.0.ebuild Added || die "..." to the test function.
should be all set now in the tree; thanks for the report! Commit message: Initial package based on http://sources.gentoo.org/dev-util/shflags/ChangeLog?rev=1.1 http://sources.gentoo.org/dev-util/shflags/metadata.xml?rev=1.1 http://sources.gentoo.org/dev-util/shflags/shflags-1.0.3.ebuild?rev=1.1