[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/18] gnu: Add python-routes.
From: |
ng0 |
Subject: |
[PATCH 08/18] gnu: Add python-routes. |
Date: |
Sun, 2 Oct 2016 11:00:45 +0000 |
* gnu/packages/python.scm (python-routes): New variable.
---
gnu/packages/python.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 61c97e2..6fea678 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1841,6 +1841,40 @@ result back.")
(native-inputs
`(("python2-setuptools" ,python2-setuptools))))))
+(define-public python-routes
+ (package
+ (name "python-routes")
+ (version "2.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Routes" version))
+ (sha256
+ (base32
+ "0l83p5prsjq0cccm6596dpv1inlafa1p7q1v8rrvi40ivjsq1hwq"))))
+ (build-system python-build-system)
+ (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)))
+ (home-page "http://routes.readthedocs.org/")
+ (synopsis "Routing Recognition and Generation Tools")
+ (description
+ "A Routing package for Python that matches URLs to dicts and vice versa.")
+ (properties `((python2-variant . ,(delay python2-routes))))
+ (license license:expat)))
+
+(define-public python2-routes
+ (let ((base (package-with-python2
+ (strip-python2-variant python-routes))))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools))))))
+
(define-public python-scripttest
(package
(name "python-scripttest")
--
2.10.0
- Add most of the Kallithea (SCM) dependencies, ng0, 2016/10/02
- [PATCH 02/18] gnu: Add python-fastimport., ng0, 2016/10/02
- [PATCH 01/18] gnu: Add python-geventhttpclient., ng0, 2016/10/02
- [PATCH 08/18] gnu: Add python-routes.,
ng0 <=
- [PATCH 06/18] gnu: Add python-dulwich-0.9.9., ng0, 2016/10/02
- [PATCH 05/18] gnu: Add python2-mysql-python., ng0, 2016/10/02
- [PATCH 04/18] gnu: Add address@hidden, ng0, 2016/10/02
- [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