summaryrefslogtreecommitdiff
path: root/dev-util/codespell
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-25 12:23:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-25 12:23:53 +0000
commite7a95ac29d5c66fcdd630ab5c8eedb70f8d152fa (patch)
tree5fd8d31889cd922cb12a8ea0f478d38e4955167f /dev-util/codespell
parent820942d62f75419e6e7bb336ba33cf77910000de (diff)
downloadbaldeagleos-repo-e7a95ac29d5c66fcdd630ab5c8eedb70f8d152fa.tar.gz
baldeagleos-repo-e7a95ac29d5c66fcdd630ab5c8eedb70f8d152fa.tar.xz
baldeagleos-repo-e7a95ac29d5c66fcdd630ab5c8eedb70f8d152fa.zip
Adding metadata
Diffstat (limited to 'dev-util/codespell')
-rw-r--r--dev-util/codespell/Manifest2
-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
4 files changed, 41 insertions, 45 deletions
diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest
index 279d8d249dc7..aee189894230 100644
--- a/dev-util/codespell/Manifest
+++ b/dev-util/codespell/Manifest
@@ -1,2 +1,2 @@
-DIST codespell-2.2.1.tar.gz 211593 BLAKE2B aba431119fd1f16ee51076cd4496ef3f3e80e56a124bbbd4ebbec5dcee5b7e49788db37bcdefd15946d12680596b33ab20ae845fd9a3a3a61ee8c3eed187fe2f SHA512 6c1ce9ed134ba4602cc91c1851a023911ff09ce7d4b1e8a33e655bf821a5b82ae8f0e75defef43e9a8537a6ffc7f0ad7e59af7b200a1294dfe3aff1651869e41
DIST codespell-2.2.2.tar.gz 213652 BLAKE2B 2084f6041c6cf9888b661a1b7b8a73696b1dc6309b8d19adbb0dbdc091d87b487464b12c9800cfec893ed5d6ea71f214d0a4262099617b5fe7e60d8ca448973d SHA512 48be00aa32e55a66814193014e97fcb27ff323ea2db0622f68cd2d3ab31ab8be61f60a09ed91fe3425cbd63b2592bcc44ee9b58fe79e2d498bc27a83a4e93ddd
+DIST codespell-2.2.4.tar.gz 241664 BLAKE2B 5f40003fdb840b926615b6eed74df90055b2ee47c534321289c3ed895c47cd2672909b152a53640899cc21960c1b3aa80c41eb344d9e23cea8fd13e998c71af6 SHA512 efbc62a3dd49781565f6d901aa9b08fc1106adf2c516365dd8d3684846e23b23bfda1e65c6530edf0de9462ccafd9d835bd541a8f0e1de14163c723ce041052d
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 a34b95a0f4ba..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_{7,8,9,10,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..884c0fa95a2d
--- /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_{7,8,9,10,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
+