summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/findimports')
-rw-r--r--dev-python/findimports/Manifest4
-rw-r--r--dev-python/findimports/findimports-1.5.2.ebuild20
-rw-r--r--dev-python/findimports/findimports-2.0.0.ebuild19
-rw-r--r--dev-python/findimports/findimports-2.1.0.ebuild19
-rw-r--r--dev-python/findimports/findimports-2.4.0.ebuild27
-rw-r--r--dev-python/findimports/metadata.xml3
6 files changed, 30 insertions, 62 deletions
diff --git a/dev-python/findimports/Manifest b/dev-python/findimports/Manifest
index c47f908ae9c5..dfe7f92f1b1e 100644
--- a/dev-python/findimports/Manifest
+++ b/dev-python/findimports/Manifest
@@ -1,3 +1 @@
-DIST findimports-1.5.2.gh.tar.gz 32211 BLAKE2B ea3110925085d466df7f95eaa06dce9e331ecba52c1772b76b05e51c633a8adc1ff91295db441049dab39129606e3927f69834376cc5fb864f5f3b62ac68bac2 SHA512 86432d29d180d4299ba789b69601722a6a15eed9badbf2f930e8867be06c64a2f1f8123ae182d7c6b73339287d04c2cdb4a18a31662ea72e86283ee165dc4d45
-DIST findimports-2.0.0.gh.tar.gz 33896 BLAKE2B e457d9e67102018cbd99f907afed33446fe11e3fc8fd9ec44459b2ed9fbe469d825b3f5fb1884b436d0576bcabacc787ef921bb5378e0389ecf789068d439e4a SHA512 c6f5b6aad6fe57f7625592c445286827c0eec74d513e85532c7e650a5f33021f7c204cb6857641a18874c640f0a79d468321875d13fb03ed645554488973294a
-DIST findimports-2.1.0.gh.tar.gz 34252 BLAKE2B 3433945b3c55f5607b5bd9e4694761b0d06c708d7873c8204d2b0bb14e15e0c60bf010e0dd30b336857891199d4ac5f1133a8ec6f3d4c37c1337f85674aa2704 SHA512 5a86d291e5888e15d612d06d4a94c0f08800a26d4ffdff4b485eb8cf1a10ed38883db2d79c6f73e6b2680cc1e5ffc51952c3405dfd4ff95716e0a2b2ac930a95
+DIST findimports-2.4.0.gh.tar.gz 26597 BLAKE2B 8dc176a551a07f38996ddbcf0df865ad7c7c1c7f86036be0939578a932155f30bdff17d2880063edd49ae1d169ebfb5bbade771a626859ad8306d54df743ee79 SHA512 90dfc39a5f73ea86a9d5c3ebec0f220f2f428f5768edc9688c47079f555b44abb80b4945b38550032289a3bff659f3857019a50882b1b2f2e83570f3e36530be
diff --git a/dev-python/findimports/findimports-1.5.2.ebuild b/dev-python/findimports/findimports-1.5.2.ebuild
deleted file mode 100644
index 39a8903bf95e..000000000000
--- a/dev-python/findimports/findimports-1.5.2.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-DESCRIPTION="Python module import analysis tool"
-HOMEPAGE="https://github.com/mgedmin/findimports"
-SRC_URI="
- https://github.com/mgedmin/findimports/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-distutils_enable_tests setup.py
diff --git a/dev-python/findimports/findimports-2.0.0.ebuild b/dev-python/findimports/findimports-2.0.0.ebuild
deleted file mode 100644
index af4535f46433..000000000000
--- a/dev-python/findimports/findimports-2.0.0.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python module import analysis tool"
-HOMEPAGE="https://github.com/mgedmin/findimports"
-SRC_URI="
- https://github.com/mgedmin/findimports/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-distutils_enable_tests setup.py
diff --git a/dev-python/findimports/findimports-2.1.0.ebuild b/dev-python/findimports/findimports-2.1.0.ebuild
deleted file mode 100644
index af4535f46433..000000000000
--- a/dev-python/findimports/findimports-2.1.0.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python module import analysis tool"
-HOMEPAGE="https://github.com/mgedmin/findimports"
-SRC_URI="
- https://github.com/mgedmin/findimports/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-distutils_enable_tests setup.py
diff --git a/dev-python/findimports/findimports-2.4.0.ebuild b/dev-python/findimports/findimports-2.4.0.ebuild
new file mode 100644
index 000000000000..a41a1ff447f3
--- /dev/null
+++ b/dev-python/findimports/findimports-2.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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
+}
diff --git a/dev-python/findimports/metadata.xml b/dev-python/findimports/metadata.xml
index 7f668de4daab..aaae5a0b6561 100644
--- a/dev-python/findimports/metadata.xml
+++ b/dev-python/findimports/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<upstream>
+ <remote-id type="github">mgedmin/findimports</remote-id>
<remote-id type="pypi">findimports</remote-id>
</upstream>
</pkgmetadata>