From unknown Tue Jun 17 20:14:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51533 <51533@debbugs.gnu.org> To: bug#51533 <51533@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-codespell. Reply-To: bug#51533 <51533@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:14:46 +0000 retitle 51533 [PATCH] gnu: Add python-codespell. reassign 51533 guix-patches submitter 51533 Felix Gruber severity 51533 normal tag 51533 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 17:49:50 2021 Received: (at submit) by debbugs.gnu.org; 31 Oct 2021 21:49:50 +0000 Received: from localhost ([127.0.0.1]:33230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhIi2-000502-6L for submit@debbugs.gnu.org; Sun, 31 Oct 2021 17:49:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:51862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhIhz-0004zp-UU for submit@debbugs.gnu.org; Sun, 31 Oct 2021 17:49:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhIhz-0002SZ-KN for guix-patches@gnu.org; Sun, 31 Oct 2021 17:49:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhIhx-0008LB-62 for guix-patches@gnu.org; Sun, 31 Oct 2021 17:49:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 97BBE240027 for ; Sun, 31 Oct 2021 22:49:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1635716977; bh=ZfAxAcCV17bkTMXZcIoTeZsRYT96g6jQjczevfswdXQ=; h=From:To:Cc:Subject:Date:From; b=dmW4L4Lo9PjapHp1UAHji4SI5Q0MFFCeJ5eF+3pQqpQfrtF9ojI/4JrGVqbjjloFF QvefTflbZWqOafLgrSsq4l4OtMQihX9iZdbxdxiOXbI4NjyXZn+N8imr7BWAvfQCO/ jfrB1p3ywLxmfhPtQPE85lgj6g/sBFCsiN9v8RAc0NmCF3BFVGNXhnvu5SNvd8elZ0 T3CSqZapkuPLb8UCU8lI4altuRIsbQSJ0mbj0+JWdcSgBOnHGUCr6apuqoGNUa71VD JXr/FW1A/riewpNaimmGBUMB+qvQx12429u+P8DG1HLepvDL5ODCqhGEBEBe42V9sY M4GLSLyTYTPSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hj8vh5qxfz6tmD; Sun, 31 Oct 2021 22:49:36 +0100 (CET) From: Felix Gruber To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-codespell. Date: Sun, 31 Oct 2021 21:49:27 +0000 Message-Id: <20211031214927.3349-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=felgru@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-codespell): New variable. --- gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f12cca9757..fb49c4291e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14228,6 +14228,53 @@ checking library.") ,python2-backport-ssl-match-hostname) ,@(package-propagated-inputs whoosh)))))) +(define-public python-codespell + (package + (name "python-codespell") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "codespell" version)) + (sha256 + (base32 "1r9y714cz8m894rxp7pyvicr1lw2iid24vz6fxbl5wzy8ibgxlqr")))) + (build-system python-build-system) + (inputs + `(("python-chardet" ,python-chardet))) + (native-inputs + `(("python-check-manifest" ,python-check-manifest) + ("python-flake8" ,python-flake8) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-dependency" ,python-pytest-dependency))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key outputs tests? #:allow-other-keys) + (when tests? + ;; Make installed executable available for running the tests. + (setenv "PATH" + (string-append (assoc-ref outputs "out") "/bin" + ":" (getenv "PATH"))) + (invoke "pytest" "-vv"))))))) + (home-page "https://github.com/codespell-project/codespell/") + (synopsis "Spellchecker for code") + (description "Codespell fixes common misspellings in text files. +It's designed primarily for checking misspelled words in source code, +but it can be used with other files as well. It does not check for word +membership in a complete dictionary, but instead looks for a set of +common misspellings. Therefore it should catch errors like \"adn\", but +it will not catch \"adnasdfasdf\". This also means it shouldn't +generate false-positives when you use a niche term it doesn't know +about.") + (license + (list + ; for codespell and codespell_lib + license:gpl2 + ; for dictionary*.txt + license:cc-by-sa3.0)))) + (define-public python-pathlib (package (name "python-pathlib") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 01 10:19:21 2021 Received: (at 51533-done) by debbugs.gnu.org; 1 Dec 2021 15:19:21 +0000 Received: from localhost ([127.0.0.1]:45082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msROD-00047h-2D for submit@debbugs.gnu.org; Wed, 01 Dec 2021 10:19:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msROB-00047V-C7 for 51533-done@debbugs.gnu.org; Wed, 01 Dec 2021 10:19:19 -0500 Received: from [2001:470:142:3::e] (port=52994 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msRO5-0003VS-EH; Wed, 01 Dec 2021 10:19:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=IeS3TxIzm3vA+b6fRCoUvOSNSqGhBmuibLA1EWfcHUs=; b=PqUOEj9h+tUIo3Y6D+qE YmE5dhq40jZGqDfg11TWzsTf10mJhO2HCxkO3LU26vzqHXWi+q62gc3O3fgVLKw1rgpBYA7OXvgoj A/3OBl4OuKDRt+eoBXxY1qiOo5wZgZ5l5P82vMmC/BjWXdAvv0sMD/0PxyD+0MguYTsVKrWtguyB/ Ektu0Vq4yhbIsazmmpc3+xi68SXimLBUfvrVyvhidwZPC8zSm9Tx3TGezKNdO+NBwfD/AFCaFpZvw SZeiy9Vj+NMK/VAa8IGNuoRx6QnINLbZqveDuGcAjsdu1j95vBl4isQWvwCuoYmNxkFQNnuHuQCUf DiANVIvQM5GKug==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62581 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msRO5-00076N-AA; Wed, 01 Dec 2021 10:19:13 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Felix Gruber Subject: Re: bug#51533: [PATCH] gnu: Add python-codespell. References: <20211031214927.3349-1-felgru@posteo.net> Date: Wed, 01 Dec 2021 16:19:11 +0100 In-Reply-To: <20211031214927.3349-1-felgru@posteo.net> (Felix Gruber's message of "Sun, 31 Oct 2021 21:49:27 +0000") Message-ID: <87o8602w0g.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51533-done Cc: 51533-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Felix Gruber skribis: > * gnu/packages/python-xyz.scm (python-codespell): New variable. Applied, thanks! Ludo=E2=80=99. From unknown Tue Jun 17 20:14:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Dec 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator