net-wireless/urh: Add Python3.13 support

Closes: https://bugs.gentoo.org/952644
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2025-05-05 08:14:44 +02:00
parent 1e2bb59824
commit 2d4bbfffcf
2 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 virtualx

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 virtualx
@@ -15,7 +15,7 @@ if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jopohl/urh.git"
else
SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -44,9 +44,9 @@ RDEPEND="${DEPEND}
distutils_enable_tests pytest
PATCHES=( "${FILESDIR}/${PN}-2.9.7-no-numpy-setup.patch" )
python_configure_all() {
# Using sed in the live ebuild to avoid patch failure
sed -i '/__NUMPY_SETUP__/d' setup.py || die
DISTUTILS_ARGS=(
$(use_with airspy)
$(use_with bladerf)