1 |
commit: d3a73f0562667892c871933c8d964277b5d140a7 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 6 12:51:59 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 6 16:56:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a73f05 |
7 |
|
8 |
dev-python/eradicate: bump to 2.0, add tests and Py3.9 support |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
dev-python/eradicate/Manifest | 1 + |
15 |
dev-python/eradicate/eradicate-2.0.0.ebuild | 21 +++++++++++++++++++++ |
16 |
2 files changed, 22 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/eradicate/Manifest b/dev-python/eradicate/Manifest |
19 |
index 3f5fe29c3ba..42769ea1699 100644 |
20 |
--- a/dev-python/eradicate/Manifest |
21 |
+++ b/dev-python/eradicate/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST eradicate-1.0.tar.gz 4644 BLAKE2B 428577e57fbe9c04074bded6b588cf7f8fd795084332cf3515c0a99f317a64bf195c7e0d5145e6e8a2ba10f2e524f874505844d9cf8c098b528fa213d3dd8a00 SHA512 ed27e73ca25ec76418e06eca80b09cad6386a4cf0b48927de30b0fa6edb8bef2a03312c494bba4bdc6f41b0e2f508a4d3573ff3471dd78aece2c92c46ef8f41b |
24 |
+DIST eradicate-2.0.0.tar.gz 8390 BLAKE2B 22dced2414622138655be80d1c10b746519d313959c7620cb54c4dc27247b0c29b7607c54934fe1dc379bec2cb729213b7ffb1d27f3f7f9b9a9d186aa9402674 SHA512 947a3890ccb1dbb52e73b37e632ae5ba1eff732d9d0b0dc127fa8dc908412e864fcda3203274d5eb1645b22f6e97a90ebb13cd4363a2360d6591475d909bdb96 |
25 |
|
26 |
diff --git a/dev-python/eradicate/eradicate-2.0.0.ebuild b/dev-python/eradicate/eradicate-2.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ce8aeaeca5b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/eradicate/eradicate-2.0.0.ebuild |
31 |
@@ -0,0 +1,21 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( pypy3 python3_{6..9} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=no |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Removes commented-out code from Python files" |
43 |
+HOMEPAGE="https://github.com/myint/eradicate" |
44 |
+# TODO: revert to PyPI tarball once it includes tests |
45 |
+# https://github.com/myint/eradicate/pull/28 |
46 |
+SRC_URI="https://github.com/myint/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+distutils_enable_tests unittest |