summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-21 20:29:31 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-21 20:30:59 +0200
commitb38e0d137d9ed1107c994b532acb07ae4420f715 (patch)
tree9145dacfbf7ae68ebf03fa4c58a40e8e3e1523a3
parentdev-python/deepmerge: Enable py3.11 (diff)
downloadgentoo-b38e0d137d9ed1107c994b532acb07ae4420f715.tar.gz
gentoo-b38e0d137d9ed1107c994b532acb07ae4420f715.tar.bz2
gentoo-b38e0d137d9ed1107c994b532acb07ae4420f715.zip
dev-python/findimports: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/findimports/findimports-2.2.0-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
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
+}