guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/4] gnu: python2-flask: Pick up python-flask's native-inp


From: Efraim Flashner
Subject: Re: [PATCH v2 4/4] gnu: python2-flask: Pick up python-flask's native-inputs.
Date: Sat, 3 Dec 2016 22:38:31 +0200
User-agent: Mutt/1.7.1 (2016-10-04)

On Sun, Nov 27, 2016 at 09:53:20AM +0100, Danny Milosavljevic wrote:
> * gnu/packages/python.scm (python2-flask)[native-inputs]:
>   Pick up python-flask's native-inputs.
> ---
>  gnu/packages/python.scm | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 497da52..39b40e7 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -9581,9 +9581,11 @@ presume or force a developer to use a particular tool 
> or library.")
>      (properties `((python2-variant . ,(delay python2-flask))))))
>  
>  (define-public python2-flask
> -  (package (inherit (package-with-python2
> -                     (strip-python2-variant python-flask)))
> -    (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
> +  (let ((base (package-with-python2 (strip-python2-variant python-flask))))
> +    (package
> +      (inherit base)
> +      (native-inputs `(("python2-setuptools" ,python2-setuptools)
> +                       ,@(package-native-inputs base))))))
>  
>  (define-public python-cookies
>    (package
> 

This patch can be included with the previous one, since python- and
python2- are essentially two parts of the same package.

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]