commit:     61309a4ab7a675175279172ab0ad4ee2b62881d9
Author:     Maide <github <AT> maide <DOT> ca>
AuthorDate: Sat Aug 10 22:00:51 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 15:31:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61309a4a

x11-misc/xkeyboard-config: Enforce >= python3_11 dependency

Python is now always listed as a dependency, as `xkeyboard-config`
uses python during the build process whether or not the `test` USE
flag is set.

Always call `python-any-r1_pkg_setup` during package setup so that
the `PYTHON_COMPAT` value is used/enforced. This fixes a build error
if the system's default python is an incompatible version.

Updated trivial homepage url change pkgcheck complained about.

Closes: https://bugs.gentoo.org/936137
Closes: https://bugs.gentoo.org/933984
Signed-off-by: Maide <github <AT> maide.ca>
Closes: https://github.com/gentoo/gentoo/pull/38089
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-misc/xkeyboard-config/xkeyboard-config-2.42.ebuild | 6 +++---
 x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.42.ebuild 
b/x11-misc/xkeyboard-config/xkeyboard-config-2.42.ebuild
index d745fe878f9f..3d57d234a633 100644
--- a/x11-misc/xkeyboard-config/xkeyboard-config-2.42.ebuild
+++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.42.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{11..12} )
 inherit meson python-any-r1
 
 DESCRIPTION="X keyboard configuration database"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig 
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config";
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig/ 
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config";
 
 if [[ ${PV} == 9999 ]]; then
        
EGIT_REPO_URI="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git";
@@ -26,8 +26,8 @@ BDEPEND="
        dev-lang/perl
        dev-libs/libxslt
        sys-devel/gettext
+       ${PYTHON_DEPS}
        test? (
-               ${PYTHON_DEPS}
                x11-apps/xkbcomp
                x11-libs/libxkbcommon
                $(python_gen_any_dep '
@@ -47,7 +47,7 @@ python_check_deps() {
 }
 
 pkg_setup() {
-       use test && python-any-r1_pkg_setup
+       python-any-r1_pkg_setup
 }
 
 src_prepare() {

diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild 
b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild
index 9ae1caa1e13b..f0a2c00dbf40 100644
--- a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild
+++ b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{11..12} )
 inherit meson python-any-r1
 
 DESCRIPTION="X keyboard configuration database"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig 
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config";
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig/ 
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config";
 
 if [[ ${PV} == 9999 ]]; then
        
EGIT_REPO_URI="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git";
@@ -26,8 +26,8 @@ BDEPEND="
        dev-lang/perl
        dev-libs/libxslt
        sys-devel/gettext
+       ${PYTHON_DEPS}
        test? (
-               ${PYTHON_DEPS}
                x11-apps/xkbcomp
                x11-libs/libxkbcommon
                $(python_gen_any_dep '
@@ -47,7 +47,7 @@ python_check_deps() {
 }
 
 pkg_setup() {
-       use test && python-any-r1_pkg_setup
+       python-any-r1_pkg_setup
 }
 
 src_prepare() {

Reply via email to