[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/10] gnu: Add python-funcsigs.
From: |
Efraim Flashner |
Subject: |
Re: [PATCH 07/10] gnu: Add python-funcsigs. |
Date: |
Tue, 3 May 2016 21:25:18 +0300 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
On Fri, Apr 29, 2016 at 04:21:00PM +0200, Cyril Roelandt wrote:
> * gnu/packages/python.scm (python-funcsigs, python2-funcsigs): New variables.
> ---
> gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 698b683..ad69368 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -728,6 +728,38 @@ API for locking files.")
> (native-inputs `(("python2-setuptools" ,python2-setuptools)
> ,@(package-native-inputs base))))))
>
> +(define-public python-funcsigs
> + (package
> + (name "python-funcsigs")
> + (version "1.0.2")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://pypi.python.org/packages/94/4a/"
> +
> "db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/"
> + "funcsigs-" version ".tar.gz"))
> + (sha256
> + (base32
> + "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7"))))
> + (build-system python-build-system)
> + (native-inputs
> + `(("python-setuptools" ,python-setuptools)
> + ("python-unittest2" ,python-unittest2)))
> + (home-page "http://funcsigs.readthedocs.org")
> + (synopsis
> + "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+")
> + (description
> + "Funcsigs is a backport of the PEP 362 function signature features from
> +Python 3.3's inspect module. The backport is compatible with Python 2.6, 2.7
> +as well as 3.3 and up. 3.2 was supported by version 0.4, but with setuptools
> +and pip no longer supporting 3.2, we cannot make any statement about 3.2
> +compatibility.")
> + (license asl2.0)))
> +
> +(define-public python2-funcsigs
> + (package-with-python2 python-funcsigs))
> +
> (define-public python-mock
> (package
> (name "python-mock")
> --
> 2.6.2
>
Based on the description, does it make sense to have a python- version
and not just a python2- version?
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
- Re: [PATCH 07/10] gnu: Add python-funcsigs.,
Efraim Flashner <=