x11-wm/marco: fix QA Python "-native-symlink"

Tested with Python 3.12, humanly verified to also be Python 3.10, 3.11
and 3.13 compliant.

Closes: https://bugs.gentoo.org/906826
Signed-off-by: Thibaud CANALE <thican@thican.net>
Closes: https://github.com/gentoo/gentoo/pull/37557
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Thibaud CANALE
2024-07-15 00:09:15 +02:00
committed by Eli Schwartz
parent 0cc0f735ca
commit ef56709708
2 changed files with 13 additions and 3 deletions

View File

@@ -1,11 +1,14 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MATE2_LA_PUNT="yes"
# For script meson_post_install.py
# Bug 906826, tracker bug 762406
PYTHON_COMPAT=( python3_{10..13} )
inherit mate meson
inherit mate meson python-any-r1
KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86"
@@ -42,6 +45,8 @@ COMMON_DEPEND="
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${COMMON_DEPEND}
gnome-extra/zenity
>=mate-base/mate-desktop-1.20.0

View File

@@ -4,8 +4,11 @@
EAPI=8
MATE2_LA_PUNT="yes"
# For script meson_post_install.py
# Bug 906826, tracker bug 762406
PYTHON_COMPAT=( python3_{10..13} )
inherit mate meson
inherit mate meson python-any-r1
MINOR=$(($(ver_cut 2) % 2))
if [[ ${MINOR} -eq 0 ]]; then
@@ -46,6 +49,8 @@ COMMON_DEPEND="
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${COMMON_DEPEND}
gnome-extra/zenity
virtual/libintl