net-wireless/gr-rds: Add Python3.13 support

Closes: https://bugs.gentoo.org/952638
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2025-04-04 09:41:29 +02:00
parent 7b881bcbba
commit 12ee4650e5
4 changed files with 53 additions and 5 deletions

View File

@@ -1 +1,2 @@
DIST gr-rds-0.0_p20220804.tar.gz 271652 BLAKE2B 5735f985d3e91c1194545f3e92786e8dd8ac8834a475df11c489673d8bbdfd918fe6b924eb3ce2765e7ec4913a09b4fe390627ba645b8130a81d4b045c98a2d5 SHA512 22e64c1d626a22c76fc71f6b23bfc47abf91adeaad3ce84cc4be688a510a90b69a1490a7a588f23204852e8bb1434882a88f8e496aa50cf944a945aa9f043e5c
DIST gr-rds-0.0_p20250404.tar.gz 278830 BLAKE2B ede49538aa3e35e1f822fe2731cd213b448cf14ca0a428b0a05c288f9efc241254a317c50610b91a27d62c07572dc46bef6fff56b45e929c31fdf2fb3faf9be3 SHA512 06106930fecea7c77a3bcaa077dca9e1158b95ae94958a984be563bbbb5e90f6f7bedbab640f576dff36247c0b5d9bed6a4536d74e73ee3ffb5a4d2b5392fe85

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_{9..12} )
PYTHON_COMPAT=( python3_{9..13} )
if [[ ${PV} == 9999* ]]; then
inherit git-r3

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..13} )
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/bastibl/${PN}"
EGIT_BRANCH="maint-3.10"
else
KEYWORDS="~amd64 ~x86"
COMMIT="c1cba54dfac0661c088c44a120eeb38c300f6c01"
SRC_URI="https://github.com/bastibl/gr-rds/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
inherit cmake python-single-r1
DESCRIPTION="GNU Radio FM RDS Receiver"
HOMEPAGE="https://github.com/bastibl/gr-rds"
LICENSE="GPL-3"
SLOT="0/${PV}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-libs/boost:=[python,${PYTHON_USEDEP}]
')
net-wireless/gnuradio:0=[${PYTHON_SINGLE_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/swig:0
"
src_configure() {
local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" )
cmake_src_configure
}
src_install() {
cmake_src_install
python_optimize
}

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_{9..12} )
PYTHON_COMPAT=( python3_{9..13} )
if [[ ${PV} == 9999* ]]; then
inherit git-r3
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999* ]]; then
EGIT_BRANCH="maint-3.10"
else
KEYWORDS="~amd64 ~x86"
COMMIT="f3646d04c138dc3279528808dcf6f847887e4a4f"
COMMIT="c1cba54dfac0661c088c44a120eeb38c300f6c01"
SRC_URI="https://github.com/bastibl/gr-rds/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi