htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit c889034975057a13d8559a024552261cb4f13c5c
Author: Hartmut Goebel <h.goe...@crazy-compilers.com>
Date:   Wed Sep 28 14:36:46 2016 +0200

    gnu: Remove needless inputs python-pip and python2-pip.
    
    This is installed together with Python 3 anyway and for our build
    of Python 2.
    
    * gnu/packages/python.scm (python-fixtures): remove input "python-pip".
    * gnu/packages/pdf.scm (python2-reportlab): remove native-input
      "python2-pip". (python-reportlab): remove now needless property
      "python2-variant".
---
 gnu/packages/pdf.scm    |    8 ++------
 gnu/packages/python.scm |    3 +--
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 61fe84e..614816f 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -634,14 +634,10 @@ using a stylus.")
     (description "This is the ReportLab PDF Toolkit.  It allows rapid creation
 of rich PDF documents, and also creation of charts in a variety of bitmap and
 vector formats.")
-    (license license:bsd-3)
-    (properties `((python2-variant . ,(delay python2-reportlab))))))
+    (license license:bsd-3)))
 
 (define-public python2-reportlab
-  (package
-    (inherit (package-with-python2
-              (strip-python2-variant python-reportlab)))
-    (native-inputs `(("python2-pip" ,python2-pip)))))
+  (package-with-python2 python-reportlab))
 
 (define-public impressive
   (package
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 40076ee..cbbee95 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1970,8 +1970,7 @@ and sensible default behaviors into your setuptools run.")
      `(("python-six" ,python-six)
        ("python-pbr-0.11" ,python-pbr-0.11)))
     (inputs
-     `(("python-pip" ,python-pip)
-       ;; Tests
+     `(;; Tests
        ("python-testtools" ,python-testtools)))
     (arguments
      '(#:tests? #f)) ; no setup.py test command

Reply via email to