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@jroy.ca>
This commit is contained in:
Julien Roy
2024-04-13 22:13:28 -04:00
parent fd741d6e7b
commit c8c3735d54

View File

@@ -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