[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25733: [PATCH 09/18] gnu: Add python-routes-1.13.
From: |
Ricardo Wurmus |
Subject: |
bug#25733: [PATCH 09/18] gnu: Add python-routes-1.13. |
Date: |
Sat, 18 Feb 2017 13:16:42 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.1.1 |
address@hidden writes:
> From: ng0 <address@hidden>
>
> * gnu/packages/python.scm (python-routes-1.13): 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 d37bcbc6b..7c02f86f1 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -2087,6 +2087,33 @@ result back.")
> (package
> (inherit base))))
>
> +;; 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)))))
No need to override the inputs (which should be propagated) here. Just
inherit them.
> +(define-public python2-routes-1.13
> + (let ((base (package-with-python2
> + (strip-python2-variant python-routes-1.13))))
> + (package
> + (inherit base))))
> +
See my comments on similar cases in your other patches.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
- bug#25733: [PATCH 01/18] gnu: Add python-geventhttpclient., (continued)
- bug#25733: [PATCH 01/18] gnu: Add python-geventhttpclient., contact . ng0, 2017/02/14
- bug#25733: [PATCH 02/18] gnu: Add python-fastimport., contact . ng0, 2017/02/14
- bug#25733: [PATCH 04/18] gnu: Add address@hidden, contact . ng0, 2017/02/14
- bug#25733: [PATCH 07/18] gnu: Add python-repoze-lru., contact . ng0, 2017/02/14
- bug#25733: [PATCH 11/18] gnu: Add python-urlobject-2.3.4., contact . ng0, 2017/02/14
- bug#25733: [PATCH 09/18] gnu: Add python-routes-1.13., contact . ng0, 2017/02/14
- bug#25733: [PATCH 09/18] gnu: Add python-routes-1.13.,
Ricardo Wurmus <=
- bug#25733: [PATCH 17/18] gnu: Add python2-kombu-1., contact . ng0, 2017/02/14
- bug#25733: [PATCH 10/18] gnu: Add python-urlobject., contact . ng0, 2017/02/14
- 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