guix-commits
[Top][All Lists]
Advanced

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

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


From: Hartmut Goebel
Subject: 17/97: gnu: Remove needless inputs python-pip and python2-pip.
Date: Tue, 18 Oct 2016 20:13:16 +0000 (UTC)

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

commit d545dc06317d8b21548f03bda967ce6682235cef
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 461472a..5f820f0 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -640,14 +640,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 e978d09..88c653f 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]