Patchwork [12/14] lint: 'check-inputs-should-not-be-an-input-at-all' checks for python-pip

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

Comments

Hartmut Goebel - Sept. 28, 2016, 1:58 p.m.
... and python2-pip.

* guix/scripts/lint.scm (check-inputs-should-not-be-an-input-at-all):
  Add python-pip and python2-pip to the list of packages to be warned
  about.
---
 guix/scripts/lint.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index ce9fee7..af38a3e 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -255,7 +255,9 @@  by two spaces; possible infraction~p at ~{~a~^, ~}")
         (inputs (package-inputs package))
         (input-names
           '("python-setuptools"
-            "python2-setuptools")))
+            "python2-setuptools"
+            "python-pip"
+            "python2-pip")))
     (warn-if-package-has-input package (package-inputs package)
                                input-names message)
     (warn-if-package-has-input package (package-native-inputs package)