From patchwork Mon Aug 2 18:13:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31749 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 0703F27BC78; Mon, 2 Aug 2021 19:16:37 +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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 C972727BC6B for ; Mon, 2 Aug 2021 19:16:36 +0100 (BST) Received: from localhost ([::1]:34316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUN-0006BG-Of for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:16:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTr-00069j-Cx for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTr-0007wc-54 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTr-0000FT-26 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49831] [PATCH 6/7] gnu: Add python-pep8-naming. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49831 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49831@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928108799 (code B ref -1); Mon, 02 Aug 2021 18:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:08 +0000 Received: from localhost ([127.0.0.1]:39232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSy-0000Cp-0v for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:49984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSw-0000Cg-I0 for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSw-0005xV-6y for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:06 -0400 Received: from latitanza.investici.org ([82.94.249.234]:58829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSt-0007CM-Q9 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:05 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPX3kpYzGp7V; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928096; bh=RRGIF6SaJnvaD+warKQ5I6oyNja5UGIh9oUgOHStQzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BjLdP6ryWACkab1sO83lCBvBLE4+RyHGaF9JEg4Macz3hkYMfh+/J3jb+sWhW5dYd ilc0uf+zMmsZKv6AoqInP6Eb/JdXRGdBWBlE41u4CkCN2RaRDJQRO1H79tSoxeGP6T cNEnVVVELvjXRjgxGR2m+Xz1s0TJL3oyyHcaSoLE= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPX2kdbzGp7G; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:58 +0200 Message-Id: <20210802181359.10695-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b3d0f535c4..b7e20d8358 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9242,6 +9242,31 @@ PEP 8.") (define-public python2-pep8 (package-with-python2 python-pep8)) +(define-public python-pep8-naming + (package + (name "python-pep8-naming") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pep8-naming" version)) + (sha256 + (base32 + "04kyh9hkpyc8jzj16d1kkk29b5n8miqdvbs0zm035n1z5z5kx6hz")))) + (build-system python-build-system) + (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)