1 |
commit: 4063202698f758f37288ac0b2c5a8908307da875 |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Thu Jun 10 21:18:49 2021 +0000 |
4 |
Commit: Bernd Waibel <waebbl <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Jun 10 21:20:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40632026 |
7 |
|
8 |
dev-util/codespell: bump to 2.1.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
12 |
|
13 |
dev-util/codespell/Manifest | 1 + |
14 |
dev-util/codespell/codespell-2.1.0.ebuild | 33 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest |
18 |
index 711939d4b..5bce26013 100644 |
19 |
--- a/dev-util/codespell/Manifest |
20 |
+++ b/dev-util/codespell/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST codespell-1.17.1.tar.gz 164357 BLAKE2B 75ed98c694498b5445b8083c8c8a98f39b552b379111721b4a99d2b497804f47c3e06f97acb4115820459122391a75f47d4a97c1253b29136308712fb57cb5ff SHA512 5c8be2c11d44a85bc2f1eac980b6ba875f99ffefbdcf6387c798b77d030f9c6ada68e80de8192fd4bab0fe8038b1b5769c72a8ee7f9da9521b9798e6527347d3 |
23 |
DIST codespell-2.0.0.tar.gz 180131 BLAKE2B 9f7cf7b28f0c6981ec4c88909bee4d77dd4a35c9669a2f6aba368519ede85019b69bbbee2a83b17b5c8ca9cd197463ce13e5198a36c6e0f371b352453a82580f SHA512 ca9fc6661be77eddca1a5b3b15a72abc0506c61826487e8f50c546b923c065c6cbfb2b4c4bbace136d811e2e8cf2fe00106efcc3eb8805181ca6bd04fd4bf638 |
24 |
+DIST codespell-2.1.0.tar.gz 187490 BLAKE2B 6114aa3a7ad8cd37ab868a3f27f641501dd0cc5bfe80bef0aa5cad0a86f8e2bba6e1f1030d5ac6fb06f78f9e01e37359d0fc17d17eb54608060300f676d3d56c SHA512 16d9a4239ae18fad6a06825a2afae6adc903d50eb90b759cdc61b1e1d145458bbfb1385837c4465b0a9858da100be074c597343c4816ca0260bbf6710d9c84e8 |
25 |
|
26 |
diff --git a/dev-util/codespell/codespell-2.1.0.ebuild b/dev-util/codespell/codespell-2.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..03eb1e9e8 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/codespell/codespell-2.1.0.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..9} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Check text files for common misspellings" |
43 |
+HOMEPAGE="https://github.com/codespell-project/codespell" |
44 |
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PVR}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+# Code licensed under GPL-2 |
47 |
+# Dictionary licensed under CC-BY-SA-3.0 |
48 |
+LICENSE="GPL-2 CC-BY-SA-3.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+python_prepare_all() { |
53 |
+ # do not depend on pytest-cov |
54 |
+ sed -i -e '/addopts/d' setup.cfg || die |
55 |
+ |
56 |
+ # This will fail if the package itself |
57 |
+ # is not yet installed |
58 |
+ sed -i -e 's:test_command:_&:' \ |
59 |
+ codespell_lib/tests/test_basic.py |
60 |
+ |
61 |
+ distutils-r1_python_prepare_all |
62 |
+} |
63 |
+ |
64 |
+distutils_enable_tests pytest |