Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/eradicate/
Date: Sat, 29 Jan 2022 15:02:18
Message-Id: 1643467905.090800cf62adff6673f8fe82b50e4e7f545799aa.mgorny@gentoo
1 commit: 090800cf62adff6673f8fe82b50e4e7f545799aa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 14:51:45 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 14:51:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090800cf
7
8 dev-python/eradicate: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/eradicate/eradicate-2.0.0-r1.ebuild | 21 +++++++++++++++++++++
13 1 file changed, 21 insertions(+)
14
15 diff --git a/dev-python/eradicate/eradicate-2.0.0-r1.ebuild b/dev-python/eradicate/eradicate-2.0.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..3d56e702338b
18 --- /dev/null
19 +++ b/dev-python/eradicate/eradicate-2.0.0-r1.ebuild
20 @@ -0,0 +1,21 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Removes commented-out code from Python files"
32 +HOMEPAGE="https://github.com/myint/eradicate"
33 +# TODO: revert to PyPI tarball once it includes tests
34 +# https://github.com/myint/eradicate/pull/28
35 +SRC_URI="https://github.com/myint/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
40 +
41 +distutils_enable_tests unittest