commit: f8bdce4c2ac784689c0084a02f77e5a1b50386bf
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 17 10:11:56 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Apr 17 20:10:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8bdce4c
gnome-base/gsettings-desktop-schemas: use ${EPYTHON}, not python3
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/762424
Closes: https://github.com/gentoo/gentoo/pull/20419
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../gsettings-desktop-schemas-40.0.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git
a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-40.0.ebuild
b/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-40.0.ebuild
index 02aa7efa2db..32ded1713c2 100644
--- a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-40.0.ebuild
+++ b/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-40.0.ebuild
@@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit gnome.org gnome2-utils meson xdg
+
+PYTHON_COMPAT=(python3_{6..9})
+inherit gnome.org gnome2-utils meson python-any-r1 xdg
DESCRIPTION="Collection of GSettings schemas for GNOME desktop"
HOMEPAGE="https://git.gnome.org/browse/gsettings-desktop-schemas"
@@ -17,6 +19,7 @@ BDEPEND="
dev-util/glib-utils
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
+ ${PYTHON_DEPS}
"
PATCHES=(
@@ -24,6 +27,12 @@ PATCHES=(
"${FILESDIR}"/3.32.0-default-fonts.patch
)
+src_prepare() {
+ default
+
+ python_fix_shebang build-aux/meson/post-install.py
+}
+
src_configure() {
meson_src_configure $(meson_use introspection)
}