unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
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	[thread overview]
Message-ID: <20161203203831.GA831@macbook42.flashner.co.il> (raw)
In-Reply-To: <20161127085320.22589-5-dannym@scratchpost.org>

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]

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   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2016-12-03 20:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-27  8:53 [PATCH v2 0/4] Update Flask & co Danny Milosavljevic
2016-11-27  8:53 ` [PATCH v2 1/4] gnu: python-simplejson: Update to 3.10.0 Danny Milosavljevic
2016-11-27  8:53 ` [PATCH v2 2/4] gnu: python-pyopenssl: Update to 16.2.0 Danny Milosavljevic
2016-11-27  8:53 ` [PATCH v2 3/4] gnu: python-flask: Update to 0.11.1 Danny Milosavljevic
2016-11-27  8:53 ` [PATCH v2 4/4] gnu: python2-flask: Pick up python-flask's native-inputs Danny Milosavljevic
2016-12-03 20:38   ` Efraim Flashner [this message]
2016-12-04 20:00     ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161203203831.GA831@macbook42.flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).