[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/23: gnu: Add python-configargparse.
From: |
David Thompson |
Subject: |
18/23: gnu: Add python-configargparse. |
Date: |
Sat, 05 Dec 2015 14:50:53 +0000 |
davexunit pushed a commit to branch master
in repository guix.
commit 79e8a2916dac8bea5fcaabf257ed86d2bfd5daff
Author: Leo Famulari <address@hidden>
Date: Sun Nov 8 22:47:48 2015 -0500
gnu: Add python-configargparse.
* gnu/packages/python.scm (python-configargparse,
python2-configargparse): New variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 05de993..ff37b86 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6463,3 +6463,29 @@ config files.")
(define-public python2-configobj
(package-with-python2 python-configobj))
+
+(define-public python-configargparse
+ (package
+ (name "python-configargparse")
+ (version "0.10.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/C/ConfigArgParse/"
+ "ConfigArgParse-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19wh919gbdbzxzpagg52q3lm62yicm95ddlcx77dyjc1slyshl1v"))))
+ (build-system python-build-system)
+ (arguments
+ ;; FIXME: Bug in test suite filed upstream:
+ ;; https://github.com/bw2/ConfigArgParse/issues/32
+ '(#:tests? #f))
+ (synopsis "Replacement for argparse")
+ (description "A drop-in replacement for argparse that allows options to
also
+be set via config files and/or environment variables.")
+ (home-page "https://github.com/bw2/ConfigArgParse")
+ (license license:expat)))
+
+(define-public python2-configargparse
+ (package-with-python2 python-configargparse))
- 10/23: gnu: Add python-zope-location., (continued)
- 10/23: gnu: Add python-zope-location., David Thompson, 2015/12/05
- 11/23: gnu: Add python-zope-security., David Thompson, 2015/12/05
- 13/23: gnu: Add python-pyrfc3339., David Thompson, 2015/12/05
- 12/23: gnu: Add python-zope-component., David Thompson, 2015/12/05
- 14/23: gnu: Add python-werkzeug., David Thompson, 2015/12/05
- 16/23: gnu: Add dialog., David Thompson, 2015/12/05
- 17/23: gnu: Add python2-pythondialog., David Thompson, 2015/12/05
- 21/23: gnu: Add python2-parsedatetime., David Thompson, 2015/12/05
- 20/23: gnu: python-parsedatetime: Update to 1.5., David Thompson, 2015/12/05
- 15/23: gnu: Add python-configobj., David Thompson, 2015/12/05
- 18/23: gnu: Add python-configargparse.,
David Thompson <=
- 19/23: gnu: Add python-ndg-httpsclient., David Thompson, 2015/12/05
- 22/23: gnu: Add acme., David Thompson, 2015/12/05
- 23/23: gnu: Add letsencrypt., David Thompson, 2015/12/05