commit:     b38e0d137d9ed1107c994b532acb07ae4420f715
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 18:29:31 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 21 18:30:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38e0d13

dev-python/findimports: Use PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/findimports/findimports-2.2.0-r1.ebuild | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/dev-python/findimports/findimports-2.2.0-r1.ebuild 
b/dev-python/findimports/findimports-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..d92d0a2d9d11
--- /dev/null
+++ b/dev-python/findimports/findimports-2.2.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python module import analysis tool"
+HOMEPAGE="
+       https://github.com/mgedmin/findimports/
+       https://pypi.org/project/findimports/
+"
+SRC_URI="
+       https://github.com/mgedmin/findimports/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+python_test() {
+       "${EPYTHON}" testsuite.py -v || die
+}

Reply via email to