diff options
Diffstat (limited to 'libraries/argparse')
-rw-r--r-- | libraries/argparse/README | 10 | ||||
-rw-r--r-- | libraries/argparse/argparse.SlackBuild | 4 | ||||
-rw-r--r-- | libraries/argparse/argparse.info | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/libraries/argparse/README b/libraries/argparse/README index d084cfa857..70400d982a 100644 --- a/libraries/argparse/README +++ b/libraries/argparse/README @@ -1,11 +1,11 @@ -The argparse python module provides an easy declarative interface for -creating command line tools. Argparse knows how to parse the arguments +The argparse python module provides an easy declarative interface for +creating command line tools. Argparse knows how to parse the arguments and flags from sys.argv, convert arg strings into objects for your program, format and print informative help messages, and much more... The argparse module improves on the standard library optparse module in -a number of ways including handling positional arguments, support for +a number of ways including handling positional arguments, support for sub-commands, allowing alternative option prefixes like + and /, -handling zero-or-more and one-or-more style arguments, producing more -informative usage messages, and providing a much simpler interface for +handling zero-or-more and one-or-more style arguments, producing more +informative usage messages, and providing a much simpler interface for custom types and actions. diff --git a/libraries/argparse/argparse.SlackBuild b/libraries/argparse/argparse.SlackBuild index 4b6d6973a4..5b4e8e4f47 100644 --- a/libraries/argparse/argparse.SlackBuild +++ b/libraries/argparse/argparse.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=argparse -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,7 +58,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION.zip +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ diff --git a/libraries/argparse/argparse.info b/libraries/argparse/argparse.info index 692980ed8a..3c76bf92dd 100644 --- a/libraries/argparse/argparse.info +++ b/libraries/argparse/argparse.info @@ -1,10 +1,10 @@ PRGNAM="argparse" -VERSION="1.1" +VERSION="1.2.1" HOMEPAGE="http://code.google.com/p/argparse/" -DOWNLOAD="http://argparse.googlecode.com/files/argparse-1.1.zip" -MD5SUM="e62565cde81a8deb61f90dcb5e8861a4" +DOWNLOAD="http://argparse.googlecode.com/files/argparse-1.2.1.tar.gz" +MD5SUM="2fbef8cb61e506c706957ab6e135840c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Marco Bonetti" EMAIL="sid77@slackware.it" -APPROVED="rworkman" +APPROVED="dsomero" |