Patchwork [09/18] gnu: Add python-routes-1.13.

login
register
mail settings
Submitter ng0
Date Oct. 2, 2016, 11 a.m.
Message ID <20161002110054.2297-10-ngillmann@runbox.com>
Download mbox | patch
Permalink /patch/16178/
State New
Headers show

Comments

ng0 - Oct. 2, 2016, 11 a.m.
* gnu/packages/python.scm (python-routes-1.13): New variable.
---
 gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6fea678..3009cd8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1875,6 +1875,35 @@  result back.")
       (native-inputs
        `(("python2-setuptools" ,python2-setuptools))))))
 
+;; Required by kallithea-0.3.2
+(define-public python-routes-1.13
+  (package
+    (inherit python-routes)
+    (version "1.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Routes" version))
+       (sha256
+        (base32
+         "19r4yr4nyz8iw3ykp8mc93xjlaybjgzyi7lhwf1azdydayix20yc"))))
+    (inputs
+     `(("python-repoze.lru" ,python-repoze.lru)
+       ("python-six" ,python-six)
+       ("python-coverage" ,python-coverage)
+       ("python-webob" ,python-webob)
+       ("python-webtest" ,python-webtest)
+       ("python-nose" ,python-nose)
+       ("python-paste" ,python-paste)))))
+
+(define-public python2-routes-1.13
+  (let ((base (package-with-python2
+               (strip-python2-variant python-routes-1.13))))
+    (package
+      (inherit base)
+      (native-inputs
+       `(("python2-setuptools" ,python2-setuptools))))))
+
 (define-public python-scripttest
   (package
     (name "python-scripttest")