commit:     12ad956a8fa8285992412f16fb7abd8311c1c333
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu May 30 15:48:09 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri May 31 07:30:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ad956a

dev-util/glade: enable py3.12

* Also dont unconditionally setup python when its supposed to
  be conditional on the python use flag.

Closes: https://bugs.gentoo.org/929541
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36902
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-util/glade/glade-3.40.0-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/glade/glade-3.40.0-r1.ebuild 
b/dev-util/glade/glade-3.40.0-r1.ebuild
index 769157b328c4..02e32c557e3f 100644
--- a/dev-util/glade/glade-3.40.0-r1.ebuild
+++ b/dev-util/glade/glade-3.40.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit gnome2 python-single-r1 meson optfeature virtualx
 
@@ -59,7 +59,7 @@ PATCHES=(
 )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 }
 
 src_configure() {

Reply via email to