guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 09/10] gnu: Add python2-functools32.


From: Efraim Flashner
Subject: [PATCH 09/10] gnu: Add python2-functools32.
Date: Thu, 3 Dec 2015 16:43:30 +0200

* gnu/packages/python.scm (python2-functools32): New variable.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0323399..ab0f56e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6121,6 +6121,30 @@ authenticated session objects providing things like 
keep-alive.")
        `(("python2-unittest2", python2-unittest2)
          ,@(package-native-inputs rauth))))))
 
+(define-public python2-functools32
+  (package
+    (name "python2-functools32")
+    (version "3.2.3-2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "functools32" version))
+        (sha256
+          (base32
+           "0v8ya0b58x47wp216n1zamimv4iw57cxz3xxhzix52jkw3xks9gn"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2
+       #:tests? #f)) ; no test target
+    (native-inputs
+     `(("python2-setuptools" ,python2-setuptools)))
+    (home-page "https://github.com/MiCHiLU/python-functools32";)
+    (synopsis
+     "Backport of the functools module from Python 3.2.3")
+    (description
+     "Backport of the functools module from Python 3.2.3 for use on 2.7 and 
PyPy.")
+    (license license:expat)))
+
 (define-public python2-futures
   (package
     (name "python2-futures")
-- 
2.6.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]