guix-patches
[Top][All Lists]
Advanced

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

bug#25733: [PATCH 07/18] gnu: Add python-repoze-lru.


From: contact . ng0
Subject: bug#25733: [PATCH 07/18] gnu: Add python-repoze-lru.
Date: Tue, 14 Feb 2017 20:15:52 +0000

From: ng0 <address@hidden>

* gnu/packages/python.scm (python-repoze-lru): New variable.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c603d0778..fb296e712 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2030,6 +2030,31 @@ result back.")
 (define-public python2-pytest-xdist
   (package-with-python2 python-pytest-xdist))
 
+(define-public python-repoze-lru
+  (package
+    (name "python-repoze-lru")
+    (version "0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "repoze.lru" version))
+       (sha256
+        (base32
+         "0cdx3fq67qfcdrb3h9rjjcvks2zfrgyd834indncplqnywxk4yhg"))))
+    (build-system python-build-system)
+    (home-page "http://www.repoze.org";)
+    (synopsis "Tiny LRU cache implementation and decorator")
+    (description
+     "Repoze integrates Zope technologies with WSGI and reusable Python 
middleware.")
+    (properties `((python2-variant . ,(delay python2-repoze-lru))))
+    (license license:repoze)))
+
+(define-public python2-repoze-lru
+  (let ((base (package-with-python2
+               (strip-python2-variant python-repoze-lru))))
+    (package
+      (inherit base))))
+
 (define-public python-scripttest
   (package
     (name "python-scripttest")
-- 
2.11.1






reply via email to

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