summaryrefslogtreecommitdiff
path: root/devel/py-argparse
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-07-24 17:25:51 +0000
committergdt <gdt@pkgsrc.org>2010-07-24 17:25:51 +0000
commite2c5ce2194e9b0a584a5ff98ad48ea29ecbad310 (patch)
treea25a317a72fce230a69221679d064e2b369f2cc5 /devel/py-argparse
parent19e06e257c4cca61a5d28695ff83303d9c0c66e7 (diff)
downloadpkgsrc-e2c5ce2194e9b0a584a5ff98ad48ea29ecbad310.tar.gz
Import py26-argparse-1.1 as devel/py-argparse.
The argparse module provides an easy, declarative interface for creating command line tools, which 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...
Diffstat (limited to 'devel/py-argparse')
-rw-r--r--devel/py-argparse/DESCR7
-rw-r--r--devel/py-argparse/Makefile21
-rw-r--r--devel/py-argparse/PLIST5
-rw-r--r--devel/py-argparse/distinfo5
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/py-argparse/DESCR b/devel/py-argparse/DESCR
new file mode 100644
index 00000000000..2225acb8cac
--- /dev/null
+++ b/devel/py-argparse/DESCR
@@ -0,0 +1,7 @@
+The argparse module provides an easy, declarative interface for
+creating command line tools, which 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...
diff --git a/devel/py-argparse/Makefile b/devel/py-argparse/Makefile
new file mode 100644
index 00000000000..4209b2678bd
--- /dev/null
+++ b/devel/py-argparse/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/24 17:25:51 gdt Exp $
+#
+
+VERSION= 1.1
+DISTNAME= argparse-${VERSION}
+PKGNAME= ${PYPKGPREFIX}-argparse-${VERSION}
+CATEGORIES= devel
+MASTER_SITES= http://argparse.googlecode.com/files/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= gdt@ir.bbn.com
+HOMEPAGE= http://argparse.googlecode.com/files/
+COMMENT= Easy, declarative interface for creating command line tools
+LICENSE= apache-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-argparse/PLIST b/devel/py-argparse/PLIST
new file mode 100644
index 00000000000..d480c0cd0d0
--- /dev/null
+++ b/devel/py-argparse/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/24 17:25:51 gdt Exp $
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/argparse.py
+${PYSITELIB}/argparse.pyc
+${PYSITELIB}/argparse.pyo
diff --git a/devel/py-argparse/distinfo b/devel/py-argparse/distinfo
new file mode 100644
index 00000000000..7863d89d0b7
--- /dev/null
+++ b/devel/py-argparse/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/24 17:25:51 gdt Exp $
+
+SHA1 (argparse-1.1.zip) = da0c55dc79cafe0eec50e7f10b06c72319a96f78
+RMD160 (argparse-1.1.zip) = 57a1f074ea95891fa473396851e8302b03637bb8
+Size (argparse-1.1.zip) = 151471 bytes