* 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