guix-patches
[Top][All Lists]
Advanced

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

bug#26140: [PATCH 3/7] gnu: Add python2-backports-functools-lru-cache.


From: Arun Isaac
Subject: bug#26140: [PATCH 3/7] gnu: Add python2-backports-functools-lru-cache.
Date: Sat, 18 Mar 2017 02:44:26 +0530

* gnu/packages/python.scm (python2-backports-functools-lru-cache): New variable.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 597b4ecba..22a80e883 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13752,3 +13752,26 @@ this without ugly hacks and/or py2to3.")
 
 (define-public python2-isort
   (package-with-python2 python-isort))
+
+(define-public python2-backports-functools-lru-cache
+  (package
+    (name "python2-backports-functools-lru-cache")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       ;; only the pypi tarballs contain the necessary metadata
+       (uri (pypi-uri "backports.functools_lru_cache" version))
+       (sha256
+        (base32
+         "158ysf2hb0q4p4695abfiym9x1ywg0dgh8a3apd7gqaaxjy22jj4"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python2-setuptools-scm" ,python2-setuptools-scm)))
+    (arguments
+     `(#:python ,python-2))
+    (home-page "https://github.com/jaraco/backports.functools_lru_cache";)
+    (synopsis "Backport of functools.lru_cache from Python 3.3")
+    (description "@code{python2-backports-functools-lru-cache} is a backport
+of functools.lru_cache from python 3.3.")
+    (license license:expat)))
-- 
2.11.0






reply via email to

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