summaryrefslogtreecommitdiff
path: root/dev-util/codespell
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-10-30 13:00:12 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-10-30 13:00:12 +0000
commita4ebfd8ab14816f6c534976d3f896a26ab2958f9 (patch)
treeeaf6d313927530dc27f9b7a2cbf2fbdf27bd9e92 /dev-util/codespell
parentde921b66a76926cd6728ffa346b4d69a3db38987 (diff)
downloadbaldeagleos-repo-a4ebfd8ab14816f6c534976d3f896a26ab2958f9.tar.gz
baldeagleos-repo-a4ebfd8ab14816f6c534976d3f896a26ab2958f9.tar.xz
baldeagleos-repo-a4ebfd8ab14816f6c534976d3f896a26ab2958f9.zip
Adding metadata
Diffstat (limited to 'dev-util/codespell')
-rw-r--r--dev-util/codespell/Manifest1
-rw-r--r--dev-util/codespell/codespell-2.2.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest
index 2f1664fdd511..279d8d249dc7 100644
--- a/dev-util/codespell/Manifest
+++ b/dev-util/codespell/Manifest
@@ -1 +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
diff --git a/dev-util/codespell/codespell-2.2.2.ebuild b/dev-util/codespell/codespell-2.2.2.ebuild
new file mode 100644
index 000000000000..09e1704dc4dc
--- /dev/null
+++ b/dev-util/codespell/codespell-2.2.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 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://pypi.org/project/codespell https://github.com/codespell-project/codespell"
+SRC_URI="mirror://pypi/${P::1}/${PN}/${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="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_install() {
+ distutils-r1_python_install
+
+ rm -R "${ED}"/$(python_get_sitedir)/bin || die
+}