Patchwork [11/14] gnu: Remove needless inputs python-pip and python2-pip.

login
register
mail settings
Submitter Hartmut Goebel
Date Sept. 28, 2016, 1:58 p.m.
Message ID <1475071107-10765-12-git-send-email-h.goebel@crazy-compilers.com>
Download mbox | patch
Permalink /patch/16116/
State New
Headers show

Comments

Hartmut Goebel - Sept. 28, 2016, 1:58 p.m.
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(-)

Patch

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 899573e..b30840a 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