unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH v2 4/4] gnu: python2-flask: Pick up python-flask's native-inputs.
Date: Sun, 27 Nov 2016 09:53:20 +0100	[thread overview]
Message-ID: <20161127085320.22589-5-dannym@scratchpost.org> (raw)
In-Reply-To: <20161127085320.22589-1-dannym@scratchpost.org>

* 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

  parent reply	other threads:[~2016-11-27  8:53 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 ` Danny Milosavljevic [this message]
2016-12-03 20:38   ` [PATCH v2 4/4] gnu: python2-flask: Pick up python-flask's native-inputs Efraim Flashner
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=20161127085320.22589-5-dannym@scratchpost.org \
    --to=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).