[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/18] gnu: Add python-repoze.lru.
From: |
ng0 |
Subject: |
[PATCH 07/18] gnu: Add python-repoze.lru. |
Date: |
Sun, 2 Oct 2016 11:00:44 +0000 |
* gnu/packages/python.scm (python-repoze.lru): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 37a8010..61c97e2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1814,6 +1814,33 @@ result back.")
(native-inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+(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)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools))))))
+
(define-public python-scripttest
(package
(name "python-scripttest")
--
2.10.0
- [PATCH 03/18] gnu: Add python-dulwich., (continued)
- [PATCH 03/18] gnu: Add python-dulwich., ng0, 2016/10/02
- [PATCH 09/18] gnu: Add python-routes-1.13., ng0, 2016/10/02
- [PATCH 13/18] gnu: Add python-markdown-2.2.1., ng0, 2016/10/02
- [PATCH 11/18] gnu: Add python-urlobject-2.3.4., ng0, 2016/10/02
- [PATCH 15/18] gnu: Add python-pyparsing-1.5.0., ng0, 2016/10/02
- [PATCH 16/18] gnu: Add python-amqplib., ng0, 2016/10/02
- [PATCH 10/18] gnu: Add python-urlobject., ng0, 2016/10/02
- [PATCH 17/18] gnu: Add python2-kombu-1., ng0, 2016/10/02
- [PATCH 14/18] gnu: Add python2-babel-1.3., ng0, 2016/10/02
- [PATCH 12/18] gnu: Add python-docutils-0.11., ng0, 2016/10/02
- [PATCH 07/18] gnu: Add python-repoze.lru.,
ng0 <=