sys-apps/dtc: enable py3.13, add missing setuptools BDEPEND

Closes: https://bugs.gentoo.org/952711
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-04-27 23:24:32 +01:00
parent fa3c82923e
commit 58e15f7c9c
2 changed files with 15 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit meson python-single-r1
if [[ ${PV} == 9999 ]] ; then
@@ -27,7 +27,12 @@ BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
python? ( dev-lang/swig )
python? (
dev-lang/swig
$(python_gen_cond_dep '
dev-python/setuptools[${PYTHON_USEDEP}]
')
)
"
RDEPEND="
python? ( ${PYTHON_DEPS} )

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} )
inherit meson python-single-r1
if [[ ${PV} == 9999 ]] ; then
@@ -27,7 +27,12 @@ BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
python? ( dev-lang/swig )
python? (
dev-lang/swig
$(python_gen_cond_dep '
dev-python/setuptools[${PYTHON_USEDEP}]
')
)
"
RDEPEND="
python? ( ${PYTHON_DEPS} )