GNU bug report logs - #25733
kallithea dependencies

Previous Next

Package: guix-patches;

Reported by: ng0 <contact.ng0 <at> cryptolab.net>

Date: Tue, 14 Feb 2017 20:12:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #83 received at 25733 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: contact.ng0 <at> cryptolab.net
Cc: ng0 <ngillmann <at> runbox.com>, 25733 <at> debbugs.gnu.org
Subject: Re: bug#25733: [PATCH 09/18] gnu: Add python-routes-1.13.
Date: Sat, 18 Feb 2017 13:16:42 +0100
contact.ng0 <at> cryptolab.net writes:

> From: ng0 <ngillmann <at> runbox.com>
>
> * 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





This bug report was last modified 5 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.