From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH 12/14] lint: 'check-inputs-should-not-be-an-input-at-all' checks for python-pip Date: Wed, 28 Sep 2016 15:58:25 +0200 Message-ID: <1475071107-10765-13-git-send-email-h.goebel@crazy-compilers.com> References: <1475071107-10765-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpFOW-0002lg-TN for guix-devel@gnu.org; Wed, 28 Sep 2016 09:59:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpFOU-0006iE-1A for guix-devel@gnu.org; Wed, 28 Sep 2016 09:59:31 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:56972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpFOT-0006h6-SI for guix-devel@gnu.org; Wed, 28 Sep 2016 09:59:29 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3skfTC0tmSz3hjVY for ; Wed, 28 Sep 2016 15:59:27 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3skfTC0gP3zvl3N for ; Wed, 28 Sep 2016 15:59:27 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 8wcll4mdwND4 for ; Wed, 28 Sep 2016 15:59:20 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-146-208.dynamic.mnet-online.de [188.174.146.208]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Wed, 28 Sep 2016 15:59:20 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id ABB6260B40 for ; Wed, 28 Sep 2016 15:58:28 +0200 (CEST) In-Reply-To: <1475071107-10765-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org ... 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(-) 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) -- 2.7.4