diff options
author | wiz <wiz> | 2015-03-09 09:14:19 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-03-09 09:14:19 +0000 |
commit | 7462914be6cbed365fda94be2cb4906ca4ae9318 (patch) | |
tree | 7941e6d69e98b99f95152f9135d55c44dc2d2052 /devel/py-configargparse | |
parent | b7c6fce6a78beb632d19dd5cdc247edfc7d5ab9f (diff) | |
download | pkgsrc-7462914be6cbed365fda94be2cb4906ca4ae9318.tar.gz |
Import py34-configargparse-0.9.3 as devel/py-configargparse, packaged
for wip by leot1990.
Applications with more than a handful of user-settable options are best
configured through a combination of command line args, config files,
hard-coded defaults, and in some cases, environment variables.
Python's command line parsing modules like argparse have very limited support
for config files and environment variables, so this module extends argparse to
add these features.
Diffstat (limited to 'devel/py-configargparse')
-rw-r--r-- | devel/py-configargparse/DESCR | 7 | ||||
-rw-r--r-- | devel/py-configargparse/Makefile | 17 | ||||
-rw-r--r-- | devel/py-configargparse/PLIST | 8 | ||||
-rw-r--r-- | devel/py-configargparse/distinfo | 5 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/py-configargparse/DESCR b/devel/py-configargparse/DESCR new file mode 100644 index 00000000000..4503f616ba0 --- /dev/null +++ b/devel/py-configargparse/DESCR @@ -0,0 +1,7 @@ +Applications with more than a handful of user-settable options are best +configured through a combination of command line args, config files, +hard-coded defaults, and in some cases, environment variables. + +Python's command line parsing modules like argparse have very limited support +for config files and environment variables, so this module extends argparse to +add these features. diff --git a/devel/py-configargparse/Makefile b/devel/py-configargparse/Makefile new file mode 100644 index 00000000000..ec6f7ac2b64 --- /dev/null +++ b/devel/py-configargparse/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2015/03/09 09:14:19 wiz Exp $ + +VERSION= 0.9.3 +DISTNAME= ConfigArgParse-${VERSION} +PKGNAME= ${PYPKGPREFIX}-configargparse-${VERSION} +CATEGORIES= devel +MASTER_SITES= https://pypi.python.org/packages/source/C/ConfigArgParse/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/bw2/ConfigArgParse +COMMENT= Argparse-like with config files or environment variables support +LICENSE= mit + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-configargparse/PLIST b/devel/py-configargparse/PLIST new file mode 100644 index 00000000000..1f77ab8ed65 --- /dev/null +++ b/devel/py-configargparse/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1 2015/03/09 09:14:19 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/configargparse.py +${PYSITELIB}/configargparse.pyc +${PYSITELIB}/configargparse.pyo diff --git a/devel/py-configargparse/distinfo b/devel/py-configargparse/distinfo new file mode 100644 index 00000000000..ecd899e8a42 --- /dev/null +++ b/devel/py-configargparse/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/03/09 09:14:19 wiz Exp $ + +SHA1 (ConfigArgParse-0.9.3.tar.gz) = a7ff95d3bc5de8a00d2fa8118182cfca871028bd +RMD160 (ConfigArgParse-0.9.3.tar.gz) = d8ecc734b0a4e63a7a5061533eb404e6ca54ab74 +Size (ConfigArgParse-0.9.3.tar.gz) = 18983 bytes |