guix-commits
[Top][All Lists]
Advanced

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

17/103: gnu: Remove needless inputs python-pip and python2-pip.


From: Hartmut Goebel
Subject: 17/103: gnu: Remove needless inputs python-pip and python2-pip.
Date: Tue, 25 Oct 2016 17:47:49 +0000 (UTC)

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

commit 35040a1b866349d72f23a4aec3d55ae3a9afca8e
Author: Hartmut Goebel <address@hidden>
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 (python2-fixtures): [inputs] remove "python-pip".
    * gnu/packages/pdf.scm (python2-reportlab): [native-inputs] remove
      "python2-pip". (python-reportlab)[properties]: remove "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 42547df..fcafdaa 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -641,14 +641,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 f64c30c..50be462 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1971,8 +1971,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

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