From 58e15f7c9ca7156a2f55044c329dd36d058a8777 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 27 Apr 2025 23:24:32 +0100 Subject: [PATCH] sys-apps/dtc: enable py3.13, add missing setuptools BDEPEND Closes: https://bugs.gentoo.org/952711 Signed-off-by: Sam James --- sys-apps/dtc/dtc-1.7.2.ebuild | 9 +++++++-- sys-apps/dtc/dtc-9999.ebuild | 11 ++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/sys-apps/dtc/dtc-1.7.2.ebuild b/sys-apps/dtc/dtc-1.7.2.ebuild index 8b7d21eaaa1cd..6e62aa6228510 100644 --- a/sys-apps/dtc/dtc-1.7.2.ebuild +++ b/sys-apps/dtc/dtc-1.7.2.ebuild @@ -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} ) diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild index 27573a1226362..6e62aa6228510 100644 --- a/sys-apps/dtc/dtc-9999.ebuild +++ b/sys-apps/dtc/dtc-9999.ebuild @@ -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} )