1 |
commit: d625a0f1f5a68da2cf1a222aba1854c6112cd76c |
2 |
Author: Theo Anderson <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Dec 26 01:08:36 2020 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Sat Dec 26 09:09:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d625a0f1 |
7 |
|
8 |
dev-util/codespell: bump to 2.0.0; bump PYTHON_COMPAT |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Theo Anderson <telans <AT> posteo.de> |
12 |
|
13 |
dev-util/codespell/Manifest | 1 + |
14 |
dev-util/codespell/codespell-2.0.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 ad33b144..711939d4 100644 |
19 |
--- a/dev-util/codespell/Manifest |
20 |
+++ b/dev-util/codespell/Manifest |
21 |
@@ -1 +1,2 @@ |
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 |
|
25 |
diff --git a/dev-util/codespell/codespell-2.0.0.ebuild b/dev-util/codespell/codespell-2.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..d58a6ad6 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/codespell/codespell-2.0.0.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Check text files for common misspellings" |
42 |
+HOMEPAGE="https://github.com/codespell-project/codespell" |
43 |
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PVR}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+# Code licensed under GPL-2 |
46 |
+# Dictionary licensed under CC-BY-SA-3.0 |
47 |
+LICENSE="GPL-2 CC-BY-SA-3.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ # do not depend on pytest-cov |
53 |
+ sed -i -e '/addopts/d' setup.cfg || die |
54 |
+ |
55 |
+ # This will fail if the package itself |
56 |
+ # is not yet installed |
57 |
+ sed -i -e 's:test_command:_&:' \ |
58 |
+ codespell_lib/tests/test_basic.py |
59 |
+ |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+distutils_enable_tests pytest |