libraries/argparse: Updated for version 1.2.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Marco Bonetti 2011-09-05 21:37:26 -04:00 committed by Robby Workman
parent c43d1ff3f1
commit 75c0f0fea9
3 changed files with 11 additions and 11 deletions

View File

@ -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.

View File

@ -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 . \

View File

@ -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"