[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/16] gnu: Add python-argparse.
From: |
Alex Kost |
Subject: |
Re: [PATCH 01/16] gnu: Add python-argparse. |
Date: |
Tue, 17 Jan 2017 21:47:43 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Ricardo Wurmus (2017-01-17 15:11 +0100) wrote:
[...]
> +(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
> address@hidden 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)))
I would adjust the indentation here simply by moving "(inherit ..." to
the next line.
> + (native-inputs
> + `(("python2-setuptools" ,python2-setuptools)))))
> +
> (define-public python-ndg-httpsclient
> (package
> (name "python-ndg-httpsclient")
--
Alex
- [PATCH 00/16] Bioinfo stuff, Ricardo Wurmus, 2017/01/17
- [PATCH 03/16] gnu: Add ribodiff., Ricardo Wurmus, 2017/01/17
- [PATCH 02/16] gnu: Add hisat2., Ricardo Wurmus, 2017/01/17
- [PATCH 04/16] gnu: Add r-compquadform., Ricardo Wurmus, 2017/01/17
- [PATCH 05/16] gnu: Add r-seqminer., Ricardo Wurmus, 2017/01/17
- [PATCH 07/16] gnu: Add r-maldiquant., Ricardo Wurmus, 2017/01/17
- [PATCH 06/16] gnu: Add r-raremetals2., Ricardo Wurmus, 2017/01/17