Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gsettings-desktop-schemas/
Date: Sat, 17 Apr 2021 20:10:12
Message-Id: 1618690205.f8bdce4c2ac784689c0084a02f77e5a1b50386bf.slyfox@gentoo
1 commit: f8bdce4c2ac784689c0084a02f77e5a1b50386bf
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 10:11:56 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 20:10:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8bdce4c
7
8 gnome-base/gsettings-desktop-schemas: use ${EPYTHON}, not python3
9
10 Reported-by: Agostino Sarubbo
11 Closes: https://bugs.gentoo.org/762424
12 Closes: https://github.com/gentoo/gentoo/pull/20419
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 .../gsettings-desktop-schemas-40.0.ebuild | 11 ++++++++++-
16 1 file changed, 10 insertions(+), 1 deletion(-)
17
18 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
19 index 02aa7efa2db..32ded1713c2 100644
20 --- a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-40.0.ebuild
21 +++ b/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-40.0.ebuild
22 @@ -2,7 +2,9 @@
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 -inherit gnome.org gnome2-utils meson xdg
27 +
28 +PYTHON_COMPAT=(python3_{6..9})
29 +inherit gnome.org gnome2-utils meson python-any-r1 xdg
30
31 DESCRIPTION="Collection of GSettings schemas for GNOME desktop"
32 HOMEPAGE="https://git.gnome.org/browse/gsettings-desktop-schemas"
33 @@ -17,6 +19,7 @@ BDEPEND="
34 dev-util/glib-utils
35 >=sys-devel/gettext-0.19.8
36 virtual/pkgconfig
37 + ${PYTHON_DEPS}
38 "
39
40 PATCHES=(
41 @@ -24,6 +27,12 @@ PATCHES=(
42 "${FILESDIR}"/3.32.0-default-fonts.patch
43 )
44
45 +src_prepare() {
46 + default
47 +
48 + python_fix_shebang build-aux/meson/post-install.py
49 +}
50 +
51 src_configure() {
52 meson_src_configure $(meson_use introspection)
53 }