[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25733: [PATCH 08/18] gnu: Add python-routes.
From: |
contact . ng0 |
Subject: |
bug#25733: [PATCH 08/18] gnu: Add python-routes. |
Date: |
Tue, 14 Feb 2017 20:15:53 +0000 |
From: ng0 <address@hidden>
* gnu/packages/python.scm (python-routes): New variable.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fb296e712..d37bcbc6b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2055,6 +2055,38 @@ result back.")
(package
(inherit base))))
+(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
+ "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))))
+
(define-public python-scripttest
(package
(name "python-scripttest")
--
2.11.1
- bug#25733: [PATCH 10/18] gnu: Add python-urlobject., (continued)
- bug#25733: [PATCH 13/18] gnu: Add python-markdown-2.2.1., contact . ng0, 2017/02/14
- bug#25733: [PATCH 14/18] gnu: Add python2-babel-1.3., contact . ng0, 2017/02/14
- bug#25733: [PATCH 06/18] gnu: Add python-dulwich-0.9.9., contact . ng0, 2017/02/14
- bug#25733: [PATCH 03/18] gnu: Add python-dulwich., contact . ng0, 2017/02/14
- bug#25733: [PATCH 05/18] gnu: Add python2-mysql-python., contact . ng0, 2017/02/14
- bug#25733: [PATCH 15/18] gnu: Add python-pyparsing-1.5.0., contact . ng0, 2017/02/14
- bug#25733: [PATCH 08/18] gnu: Add python-routes.,
contact . ng0 <=
- bug#25733: [PATCH 12/18] gnu: Add python-docutils-0.11., contact . ng0, 2017/02/14
bug#25733: [PATCH 16/18] gnu: Add python-amqplib., contact . ng0, 2017/02/14
bug#25733: [PATCH 01/18] gnu: Add python-geventhttpclient., Ricardo Wurmus, 2017/02/18