From 146e3539c6e44e530dd63ad75406275105cbe0b4 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 5 Jan 2007 22:35:33 +0000 Subject: Argparse takes the best of the optparse command-line parsing module and brings it new life. Argparse adds positional as well as optional arguments, the ability to create parsers for sub-commands, more informative help and usage messages, and much more. At the same time, it retains the ease and flexibility of use that made optparse so popular. WWW: http://argparse.python-hosting.com/ PR: ports/107556 Submitted by: Li-Wen Hsu --- devel/py-argparse/Makefile | 26 ++++++++++++++++++++++++++ devel/py-argparse/distinfo | 3 +++ devel/py-argparse/pkg-descr | 7 +++++++ 3 files changed, 36 insertions(+) create mode 100644 devel/py-argparse/Makefile create mode 100644 devel/py-argparse/distinfo create mode 100644 devel/py-argparse/pkg-descr (limited to 'devel/py-argparse') diff --git a/devel/py-argparse/Makefile b/devel/py-argparse/Makefile new file mode 100644 index 000000000000..7ce216ff1fc5 --- /dev/null +++ b/devel/py-argparse/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: py-argparse +# Date created: Jan. 05, 2007 +# Whom: Li-Wen Hsu +# +# $FreeBSD$ +# + +PORTNAME= argparse +PORTVERSION= 0.4.0 +CATEGORIES= devel python +MASTER_SITES= http://cheeseshop.python.org/packages/source/a/argparse/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lwhsu@lwhsu.org +COMMENT= An optparse-inspired command-line parsing library + +USE_ZIP= yes + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/argparse.py \ + %%PYTHON_SITELIBDIR%%/argparse.pyc \ + %%PYTHON_SITELIBDIR%%/argparse.pyo + +.include diff --git a/devel/py-argparse/distinfo b/devel/py-argparse/distinfo new file mode 100644 index 000000000000..da5d5ef8bb87 --- /dev/null +++ b/devel/py-argparse/distinfo @@ -0,0 +1,3 @@ +MD5 (argparse-0.4.0.zip) = 9240b1183f2c08a1eb5b48e0adae689b +SHA256 (argparse-0.4.0.zip) = ced2c1a18794fbd6232780f050e77f86a1e1a6ab28e1fce1aacc97b2b18b0618 +SIZE (argparse-0.4.0.zip) = 15031 diff --git a/devel/py-argparse/pkg-descr b/devel/py-argparse/pkg-descr new file mode 100644 index 000000000000..e3695583b712 --- /dev/null +++ b/devel/py-argparse/pkg-descr @@ -0,0 +1,7 @@ +Argparse takes the best of the optparse command-line parsing module and brings +it new life. Argparse adds positional as well as optional arguments, the +ability to create parsers for sub-commands, more informative help and usage +messages, and much more. At the same time, it retains the ease and flexibility +of use that made optparse so popular. + +WWW: http://argparse.python-hosting.com/ -- cgit v1.2.3