From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: [PATCH 01/16] gnu: Add python-argparse.
Date: Tue, 17 Jan 2017 15:11:26 +0100 [thread overview]
Message-ID: <20170117141141.11694-2-rekado@elephly.net> (raw)
In-Reply-To: <20170117141141.11694-1-rekado@elephly.net>
* gnu/packages/python.scm (python-argparse, python2-argparse): New
variables.
---
gnu/packages/python.scm | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a9792afe2..cf7143be1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015 Omar Radwan <toxemicsquire4@gmail.com>
;;; Copyright © 2015 Pierre-Antoine Rault <par@rigelk.eu>
-;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org>
@@ -7863,6 +7863,35 @@ be set via config files and/or environment variables.")
(define-public python2-configargparse
(package-with-python2 python-configargparse))
+(define-public python-argparse
+ (package
+ (name "python-argparse")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "argparse" version))
+ (sha256
+ (base32
+ "1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32"))))
+ (properties `((python2-variant . ,(delay python2-argparse))))
+ (build-system python-build-system)
+ (home-page "https://pypi.python.org/pypi/argparse/")
+ (synopsis "Command-line parsing library")
+ (description "The @code{argparse} module makes it easy to write user
+friendly command line interfaces. The program defines what arguments it
+requires, and @code{argparse} will figure out how to parse those out of
+@code{sys.argv}. The @code{argparse} module also automatically generates help
+and usage messages and issues errors when users give the program invalid
+arguments.")
+ (license (package-license python))))
+
+(define-public python2-argparse
+ (package (inherit (package-with-python2
+ (strip-python2-variant python-argparse)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))))
+
(define-public python-ndg-httpsclient
(package
(name "python-ndg-httpsclient")
--
2.11.0
next prev parent reply other threads:[~2017-01-17 14:12 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-17 14:11 [PATCH 00/16] Bioinfo stuff Ricardo Wurmus
2017-01-17 14:11 ` Ricardo Wurmus [this message]
2017-01-17 14:49 ` [PATCH 01/16] gnu: Add python-argparse Hartmut Goebel
2017-01-17 15:26 ` Ricardo Wurmus
2017-01-17 18:48 ` Alex Kost
2017-01-17 18:47 ` Alex Kost
2017-01-17 14:11 ` [PATCH 02/16] gnu: Add hisat2 Ricardo Wurmus
2017-01-17 20:36 ` Leo Famulari
2017-01-17 20:49 ` Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 03/16] gnu: Add ribodiff Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 04/16] gnu: Add r-compquadform Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 05/16] gnu: Add r-seqminer Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 06/16] gnu: Add r-raremetals2 Ricardo Wurmus
2017-01-20 13:16 ` Ludovic Courtès
2017-01-20 14:18 ` Ricardo Wurmus
2017-01-20 21:26 ` Ludovic Courtès
2017-01-17 14:11 ` [PATCH 07/16] gnu: Add r-maldiquant Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 08/16] gnu: Add r-protgenerics Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 09/16] gnu: Add r-mzr Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 10/16] gnu: Add r-affyio Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 11/16] gnu: Add r-affy Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 12/16] gnu: Add r-vsn Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 13/16] gnu: Add r-mzid Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 14/16] gnu: Add r-pcamethods Ricardo Wurmus
2017-01-17 14:11 ` [PATCH 15/16] gnu: Add r-msnbase Ricardo Wurmus
2017-01-20 13:17 ` Ludovic Courtès
2017-01-20 13:18 ` Ludovic Courtès
2017-01-17 14:11 ` [PATCH 16/16] gnu: Add r-msnid Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170117141141.11694-2-rekado@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).