summaryrefslogtreecommitdiff
path: root/dev-util/codespell
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-23 13:40:43 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-23 13:40:43 +0000
commit0d9a32816e3c0d439552d89e27eff28958ece7bb (patch)
treeea4e99ae5bd3928376c57a6ae0eac9567c9b15bd /dev-util/codespell
parent659a8f0e2192ea921947b129036460b1598da20f (diff)
downloadbaldeagleos-repo-0d9a32816e3c0d439552d89e27eff28958ece7bb.tar.gz
baldeagleos-repo-0d9a32816e3c0d439552d89e27eff28958ece7bb.tar.xz
baldeagleos-repo-0d9a32816e3c0d439552d89e27eff28958ece7bb.zip
Adding metadata
Diffstat (limited to 'dev-util/codespell')
-rw-r--r--dev-util/codespell/Manifest1
-rw-r--r--dev-util/codespell/codespell-2.1.0.ebuild43
-rw-r--r--dev-util/codespell/metadata.xml21
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest
new file mode 100644
index 000000000000..c0fb3621378b
--- /dev/null
+++ b/dev-util/codespell/Manifest
@@ -0,0 +1 @@
+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 000000000000..107e0f775a7e
--- /dev/null
+++ b/dev-util/codespell/codespell-2.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+
+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/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 --install 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/metadata.xml b/dev-util/codespell/metadata.xml
new file mode 100644
index 000000000000..87ebaa81248d
--- /dev/null
+++ b/dev-util/codespell/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>waebbl-gentoo@posteo.net</email>
+ <name>Bernd Waibel</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ A tool to fix common misspellings in text files. It's designed primarily
+ checking misspelled words in source code, but can be used with other
+ text files as well.
+</longdescription>
+ <upstream>
+ <bugs-to>https://github.com/codespell-project/codespell/issues</bugs-to>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file