From patchwork Tue Jun 29 22:42:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 30798 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E99627BC81; Tue, 29 Jun 2021 23:46:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C52327BC78 for ; Tue, 29 Jun 2021 23:46:09 +0100 (BST) Received: from localhost ([::1]:43966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyMUa-00050y-0n for patchwork@mira.cbaines.net; Tue, 29 Jun 2021 18:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyMSa-0003p9-7u for guix-patches@gnu.org; Tue, 29 Jun 2021 18:44:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyMSa-0003eB-0N for guix-patches@gnu.org; Tue, 29 Jun 2021 18:44:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyMSZ-0004ep-W8 for guix-patches@gnu.org; Tue, 29 Jun 2021 18:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49281] [PATCH 6/7] gnu: Add python-pep8-naming. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Jun 2021 22:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49281 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 49281@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 49281-submit@debbugs.gnu.org id=B49281.162500661117807 (code B ref 49281); Tue, 29 Jun 2021 22:44:03 +0000 Received: (at 49281) by debbugs.gnu.org; 29 Jun 2021 22:43:31 +0000 Received: from localhost ([127.0.0.1]:55901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyMRr-0004cq-NN for submit@debbugs.gnu.org; Tue, 29 Jun 2021 18:43:31 -0400 Received: from latitanza.investici.org ([82.94.249.234]:48607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyMRk-0004bp-8q for 49281@debbugs.gnu.org; Tue, 29 Jun 2021 18:43:12 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GDzyl5mSCzGp5C; Tue, 29 Jun 2021 22:43:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1625006591; bh=zGvVlMeVAmHE1QvLjRPYLJDjLfuZuytS+8YJmE69VfA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=caILCXRTByJRkEV0AlB4Qf1MhIcEOMAq4QeY42dRMtDR8gM8fvN1ROt0ajS47f54f FJ7pzkc9fmxRiGrgqjPK5IdCDW8a4DQbLvRKFOKNpAHkMGDG1i8V/JVm/Kjnt34aLG W4T0/BwpMToSVYkd41esRgFYaw8RZDuJacNe+pMo= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GDzyl4jzkzGp58; Tue, 29 Jun 2021 22:43:11 +0000 (UTC) From: Giacomo Leidi Date: Wed, 30 Jun 2021 00:42:44 +0200 Message-Id: <20210629224245.29530-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210629224245.29530-1-goodoldpaul@autistici.org> References: <20210629224245.29530-1-goodoldpaul@autistici.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pep8-naming): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 21ae2fe4f5..c7f91dd977 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9245,6 +9245,36 @@ PEP 8.") (define-public python2-pep8 (package-with-python2 python-pep8)) +(define-public python-pep8-naming + (package + (name "python-pep8-naming") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pep8-naming" version)) + (sha256 + (base32 + "0937rnk3c2z1jkdmbw9hfm80p5k467q7rqhn6slfiprs4kflgpd1")))) + (build-system python-build-system) + (arguments + ;; Tests are broken. They work from the top + ;; of the master branch, so hopefully we'll + ;; be able to enable them in the future. + '(#:tests? #f)) + (propagated-inputs + `(("python-flake8" ,python-flake8) + ("python-flake8-polyfill" + ,python-flake8-polyfill))) + (home-page + "https://github.com/PyCQA/pep8-naming") + (synopsis + "Check PEP-8 naming conventions") + (description + "This package provides the @code{pep8-naming} Python module, a +plugin for flake8 to check PEP-8 naming conventions.") + (license license:expat))) + (define-public python-pep517 (package (inherit python-pep517-bootstrap)