commit:     c8c3735d54424798f03fa4a654fe518e193c935e
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun Apr 14 02:13:28 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Apr 14 02:13:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8c3735d

dev-python/pyagentx: enable py3.12, use PEP517

Closes: https://bugs.gentoo.org/921856
Closes: https://bugs.gentoo.org/897518
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 .../pyagentx/{pyagentx-0.4.ebuild => pyagentx-0.4-r1.ebuild}     | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-python/pyagentx/pyagentx-0.4.ebuild 
b/dev-python/pyagentx/pyagentx-0.4-r1.ebuild
similarity index 60%
rename from dev-python/pyagentx/pyagentx-0.4.ebuild
rename to dev-python/pyagentx/pyagentx-0.4-r1.ebuild
index 73526de94b..571ebd7277 100644
--- a/dev-python/pyagentx/pyagentx-0.4.ebuild
+++ b/dev-python/pyagentx/pyagentx-0.4-r1.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1
 
 DESCRIPTION="Python AgentX Implementation"
 HOMEPAGE="https://github.com/hosthvo/pyagentx";
-SRC_URI="https://github.com/hosthvo/pyagentx/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI="https://github.com/hosthvo/pyagentx/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD-2"
 SLOT="0"
@@ -17,5 +18,3 @@ KEYWORDS="~amd64"
 
 PATCHES="${FILESDIR}/updater.patch
                ${FILESDIR}/python3.patch"
-
-distutils_enable_tests setup.py

Reply via email to