commit:     3b4b9adf10a07cabab2446b31aca597314763f73
Author:     Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
AuthorDate: Wed Jan 27 03:41:18 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar  1 13:02:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4b9adf

gnome-extra/cjs: Fix meson script shebangs

Bug: https://bugs.gentoo.org/766935
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 gnome-extra/cjs/cjs-4.8.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnome-extra/cjs/cjs-4.8.2.ebuild b/gnome-extra/cjs/cjs-4.8.2.ebuild
index 2daead9e520..59ef8a7d5a6 100644
--- a/gnome-extra/cjs/cjs-4.8.2.ebuild
+++ b/gnome-extra/cjs/cjs-4.8.2.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit meson pax-utils virtualx
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit meson pax-utils python-any-r1 virtualx
 
 DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
 HOMEPAGE="https://projects.linuxmint.com/cinnamon/ 
https://github.com/linuxmint/cjs";
@@ -33,9 +35,15 @@ DEPEND="
        )
 "
 BDEPEND="
+       ${PYTHON_DEPS}
        virtual/pkgconfig
 "
 
+src_prepare() {
+       default
+       python_fix_shebang build
+}
+
 src_configure() {
        local emesonargs=(
                $(meson_feature cairo)

Reply via email to