summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Marco Bonetti2011-09-06 03:37:26 +0200
committer Robby Workman2011-09-06 06:03:04 +0200
commit75c0f0fea9453b4b648f6ea814e447d9fae0598e (patch)
tree244342b5442b16f1d900787d6be2fe6f1356fa26
parentc43d1ff3f1d6f69febba34e560f4846909117225 (diff)
downloadslackbuilds-75c0f0fea9453b4b648f6ea814e447d9fae0598e.tar.gz
libraries/argparse: Updated for version 1.2.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/argparse/README10
-rw-r--r--libraries/argparse/argparse.SlackBuild4
-rw-r--r--libraries/argparse/argparse.info8
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"