summaryrefslogtreecommitdiff
path: root/dev-util/codespell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-25 06:49:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-25 06:49:35 +0000
commit0b82ae29b3034efe3e7b7f533dbcb76168544c5e (patch)
treeea954d341afdcf53b3b79c78c9a54ff2c9693096 /dev-util/codespell
parentb0b85e141f6a9a74d9d6bdce989a626ff5e92523 (diff)
gentoo auto-resync : 25:03:2023 - 06:49:35
Diffstat (limited to 'dev-util/codespell')
-rw-r--r--dev-util/codespell/Manifest7
-rw-r--r--dev-util/codespell/codespell-2.2.1.ebuild44
-rw-r--r--dev-util/codespell/codespell-2.2.4.ebuild23
-rw-r--r--dev-util/codespell/files/codespell-2.2.4-drop-coverage.patch17
-rw-r--r--dev-util/codespell/metadata.xml1
5 files changed, 45 insertions, 47 deletions
diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest
index 1d8da89e28bb..9e942d7ccc22 100644
--- a/dev-util/codespell/Manifest
+++ b/dev-util/codespell/Manifest
@@ -1,5 +1,6 @@
-DIST codespell-2.2.1.tar.gz 211593 BLAKE2B aba431119fd1f16ee51076cd4496ef3f3e80e56a124bbbd4ebbec5dcee5b7e49788db37bcdefd15946d12680596b33ab20ae845fd9a3a3a61ee8c3eed187fe2f SHA512 6c1ce9ed134ba4602cc91c1851a023911ff09ce7d4b1e8a33e655bf821a5b82ae8f0e75defef43e9a8537a6ffc7f0ad7e59af7b200a1294dfe3aff1651869e41
+AUX codespell-2.2.4-drop-coverage.patch 551 BLAKE2B 0873808ef9e57dbc9b8c75f58464105fb9c0150f32f85b6c3cc51cf936719112fd09b582b724fc738519d7844b2d529284c598fde7a13e9a9e05246465e7d3ca SHA512 6ebdf84e84742b8713d67e0bcfb3a838f73eee62060d2de48288e5f9a25dfc4840e9331160bc10a90c743ff6de0813741140c2bec26a2f1c6139e08fa2d9fc66
DIST codespell-2.2.2.tar.gz 213652 BLAKE2B 2084f6041c6cf9888b661a1b7b8a73696b1dc6309b8d19adbb0dbdc091d87b487464b12c9800cfec893ed5d6ea71f214d0a4262099617b5fe7e60d8ca448973d SHA512 48be00aa32e55a66814193014e97fcb27ff323ea2db0622f68cd2d3ab31ab8be61f60a09ed91fe3425cbd63b2592bcc44ee9b58fe79e2d498bc27a83a4e93ddd
-EBUILD codespell-2.2.1.ebuild 943 BLAKE2B 67e1945c86d05b667f8958d02fd3ddaab45eafe29bf5024df46c0d77cae4c13bbf5ece2bba5c06bfb664cf3a92b3a4c90f1574602f91b5c787f99e05439a9613 SHA512 40f53c35ef809e492f5d1017a86eb63ce49906ad9279ec0a1c1e29d678a260655607673c637e30664748438d5c1f774928019ab628a1b42ebfd0ec31d521b4fb
+DIST codespell-2.2.4.tar.gz 241664 BLAKE2B 5f40003fdb840b926615b6eed74df90055b2ee47c534321289c3ed895c47cd2672909b152a53640899cc21960c1b3aa80c41eb344d9e23cea8fd13e998c71af6 SHA512 efbc62a3dd49781565f6d901aa9b08fc1106adf2c516365dd8d3684846e23b23bfda1e65c6530edf0de9462ccafd9d835bd541a8f0e1de14163c723ce041052d
EBUILD codespell-2.2.2.ebuild 810 BLAKE2B f7cdb88c1512133c756aa997ccb516b270056a4f696f8b550d53dab5270ca4e07eaeee6ea833a1929beb8cb35404a3efaffc28b4055bca87c829606d8bf38f86 SHA512 f4d4066f052c03a8aaa7bb5fb9cc410149c4cb3fb57e6f73359a8bc2e85771563078693d0cdcd5a7749f58e07a66432b28d38e9b6f19aede5ccbace0122e42d6
-MISC metadata.xml 774 BLAKE2B fe1de89542c86da21ef70e12bee327af41f09f4af419da14074f01c3d0d995ee51deb13748330d13b61a4e3e1ac392e581656973ece8df5290b21d3c4f1fec81 SHA512 e95c51eeb9da39aa2cc7ad6e5f584050407bd232fd77a9f25b339a2c25262f51194278b47d4e05e55a0c3fcc6daaa41bc0babb242aba83e0b87912400179afa6
+EBUILD codespell-2.2.4.ebuild 639 BLAKE2B 70b9874604eb90bfa3dd8592f06fa467dc78e06a219c5ca01d311349d1aab3fb62ccf951f6f6917303781dfc6073aaab4015225ff048a9dca0402842cd56fc84 SHA512 82d43f8e9452e4a296d6f2395b55cd5198a385f1a351c27a6aa66a6b78f9ce7ca079ba3084ae66a6ae5972d27a2f5f1bfff1293cae960ce06e879312b08b0259
+MISC metadata.xml 820 BLAKE2B b0584565c2ad113da730325836b4e847f38f9ec8c988f5a6537efa10f13a1a2d342cf1f9f6a872fe1e9d4ce915a45cb64ee302176507a774c1272a11328cd6ac SHA512 10c664900fdc603f206552aa90373d989bd822401ffba7c02c05f28fc77b9b0b697c822dc5a3c33b4be6f82f8f95e8c72afc87d5f0efb8dfc0a2c19c5b22eb51
diff --git a/dev-util/codespell/codespell-2.2.1.ebuild b/dev-util/codespell/codespell-2.2.1.ebuild
deleted file mode 100644
index 9b6987df7002..000000000000
--- a/dev-util/codespell/codespell-2.2.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Check text files for common misspellings"
-HOMEPAGE="https://github.com/codespell-project/codespell"
-SRC_URI="https://github.com/codespell-project/codespell/archive/refs/tags/v${PV}.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"
-
-BDEPEND="
- sys-apps/help2man
- test? ( dev-python/chardet[${PYTHON_USEDEP}] )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # do not depend on pytest-cov
- sed -e '/addopts/d' -i setup.cfg || die
-}
-
-python_compile_all() {
- # generate included man page
- emake ${PN}.1
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- doman ${PN}.1
-}
diff --git a/dev-util/codespell/codespell-2.2.4.ebuild b/dev-util/codespell/codespell-2.2.4.ebuild
new file mode 100644
index 000000000000..f2af4c1fbbbc
--- /dev/null
+++ b/dev-util/codespell/codespell-2.2.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Check text files for common misspellings"
+HOMEPAGE="https://pypi.org/project/codespell https://github.com/codespell-project/codespell"
+
+# 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"
+
+BDEPEND="test? ( dev-python/chardet[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.2.4-drop-coverage.patch )
+
+distutils_enable_tests pytest
diff --git a/dev-util/codespell/files/codespell-2.2.4-drop-coverage.patch b/dev-util/codespell/files/codespell-2.2.4-drop-coverage.patch
new file mode 100644
index 000000000000..beedf8f6d3fb
--- /dev/null
+++ b/dev-util/codespell/files/codespell-2.2.4-drop-coverage.patch
@@ -0,0 +1,17 @@
+From c032b3e7c251343826c1f199b7a1e4c097f79314 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Sat, 18 Mar 2023 16:45:57 +0100
+Subject: [PATCH] drop coverage
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -151,4 +151,4 @@ good-names=["F","r","i","n"]
+ # include-naming-hint=yes
+
+ [tool.pytest.ini_options]
+-addopts = "--cov=codespell_lib -rs --cov-report= --tb=short --junit-xml=junit-results.xml"
++addopts = "-rs --tb=short --junit-xml=junit-results.xml"
+--
+2.40.0
+
diff --git a/dev-util/codespell/metadata.xml b/dev-util/codespell/metadata.xml
index d62288ef36d1..d8af0e50ae07 100644
--- a/dev-util/codespell/metadata.xml
+++ b/dev-util/codespell/metadata.xml
@@ -16,6 +16,7 @@
</longdescription>
<upstream>
<bugs-to>https://github.com/codespell-project/codespell/issues</bugs-to>
+ <remote-id type="pypi">codespell</remote-id>
<remote-id type="github">codespell-project/codespell</remote-id>
</upstream>
</pkgmetadata>