From patchwork Sun Aug 29 23:38:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 32405 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 7FBC827BBE3; Mon, 30 Aug 2021 00:40:17 +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_H2,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 1C96827BBE1 for ; Mon, 30 Aug 2021 00:40:14 +0100 (BST) Received: from localhost ([::1]:40016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKUPK-00060d-1F for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 19:40:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKUOF-0005wq-G3 for guix-patches@gnu.org; Sun, 29 Aug 2021 19:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKUOE-00078I-2I for guix-patches@gnu.org; Sun, 29 Aug 2021 19:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKUOE-0005Qa-0P for guix-patches@gnu.org; Sun, 29 Aug 2021 19:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50263] [PATCH] gnu: Add python-pep8-naming. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50263@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163028031220815 (code B ref -1); Sun, 29 Aug 2021 23:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2021 23:38:32 +0000 Received: from localhost ([127.0.0.1]:57753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKUNh-0005Pb-32 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 19:38:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:43258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKUNe-0005PQ-K2 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 19:38:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKUNd-0005pC-T9 for guix-patches@gnu.org; Sun, 29 Aug 2021 19:38:26 -0400 Received: from confino.investici.org ([2a00:c38:11e:ffff::a020]:58157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKUNb-0006iB-GL for guix-patches@gnu.org; Sun, 29 Aug 2021 19:38:25 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4GyVJD4f6lz111D; Sun, 29 Aug 2021 23:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1630280300; bh=2WgIWWonExZ4YBt+GzqGXLpkgoRIayGT6vrbYmGhycc=; h=From:To:Cc:Subject:Date:From; b=iSUUOD1xwpmOe1aVaI+IqKBTpTDI3/JuADRN5SykNiQG6/0+cRlSNw1HDHMDKEhUP +kLgbDIxpUNJjYyzIAkm7G2qkkFcI3LmwqyB1Ge9JfnJcXqdwmKgvPDWUbhnfZq2vB Tdcna5NnO/bs/5yTj1Zh9W9mfaox0kwdYCadcZA8= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GyVJD3t2Vz1118; Sun, 29 Aug 2021 23:38:20 +0000 (UTC) From: Giacomo Leidi Date: Mon, 30 Aug 2021 01:38:13 +0200 Message-Id: <20210829233813.2693-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:c38:11e:ffff::a020; envelope-from=goodoldpaul@autistici.org; helo=confino.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, 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(+) base-commit: 994d8ce394e88b55985241b7b14f6a8459bcf9e8 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1d1a679133..1a9bf906be 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9311,6 +9311,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)