commit:     58e15f7c9ca7156a2f55044c329dd36d058a8777
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 27 22:24:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 27 22:52:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e15f7c

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

Closes: https://bugs.gentoo.org/952711
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 8b7d21eaaa1c..6e62aa622851 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 27573a122636..6e62aa622851 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} )

Reply via email to