commit:     4063202698f758f37288ac0b2c5a8908307da875
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Thu Jun 10 21:18:49 2021 +0000
Commit:     Bernd Waibel <waebbl <AT> gmail <DOT> com>
CommitDate: Thu Jun 10 21:20:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40632026

dev-util/codespell: bump to 2.1.0

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>

 dev-util/codespell/Manifest               |  1 +
 dev-util/codespell/codespell-2.1.0.ebuild | 33 +++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest
index 711939d4b..5bce26013 100644
--- a/dev-util/codespell/Manifest
+++ b/dev-util/codespell/Manifest
@@ -1,2 +1,3 @@
 DIST codespell-1.17.1.tar.gz 164357 BLAKE2B 
75ed98c694498b5445b8083c8c8a98f39b552b379111721b4a99d2b497804f47c3e06f97acb4115820459122391a75f47d4a97c1253b29136308712fb57cb5ff
 SHA512 
5c8be2c11d44a85bc2f1eac980b6ba875f99ffefbdcf6387c798b77d030f9c6ada68e80de8192fd4bab0fe8038b1b5769c72a8ee7f9da9521b9798e6527347d3
 DIST codespell-2.0.0.tar.gz 180131 BLAKE2B 
9f7cf7b28f0c6981ec4c88909bee4d77dd4a35c9669a2f6aba368519ede85019b69bbbee2a83b17b5c8ca9cd197463ce13e5198a36c6e0f371b352453a82580f
 SHA512 
ca9fc6661be77eddca1a5b3b15a72abc0506c61826487e8f50c546b923c065c6cbfb2b4c4bbace136d811e2e8cf2fe00106efcc3eb8805181ca6bd04fd4bf638
+DIST codespell-2.1.0.tar.gz 187490 BLAKE2B 
6114aa3a7ad8cd37ab868a3f27f641501dd0cc5bfe80bef0aa5cad0a86f8e2bba6e1f1030d5ac6fb06f78f9e01e37359d0fc17d17eb54608060300f676d3d56c
 SHA512 
16d9a4239ae18fad6a06825a2afae6adc903d50eb90b759cdc61b1e1d145458bbfb1385837c4465b0a9858da100be074c597343c4816ca0260bbf6710d9c84e8

diff --git a/dev-util/codespell/codespell-2.1.0.ebuild 
b/dev-util/codespell/codespell-2.1.0.ebuild
new file mode 100644
index 000000000..03eb1e9e8
--- /dev/null
+++ b/dev-util/codespell/codespell-2.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Check text files for common misspellings"
+HOMEPAGE="https://github.com/codespell-project/codespell";
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PVR}.tar.gz -> 
${P}.tar.gz"
+
+# Code licensed under GPL-2
+# Dictionary licensed under CC-BY-SA-3.0
+LICENSE="GPL-2 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+python_prepare_all() {
+       # do not depend on pytest-cov
+       sed -i -e '/addopts/d' setup.cfg || die
+
+       # This will fail if the package itself
+       # is not yet installed
+       sed -i -e 's:test_command:_&:' \
+               codespell_lib/tests/test_basic.py
+
+       distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest

Reply via email to