summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2021-05-08 15:19:41 +0000
committerKeri Harris <keri@gentoo.org>2021-05-08 15:19:41 +0000
commitd73a44c85bb501dcf6d4058c74a7814a9011f4ef (patch)
treec5d8713b97d3fc125473f1ccb6b4ede9902f459a /dev-lang/qu-prolog
parentdev-lang/xsb: link xsb module with compiler instead of ld (diff)
downloadgentoo-d73a44c85bb501dcf6d4058c74a7814a9011f4ef.tar.gz
gentoo-d73a44c85bb501dcf6d4058c74a7814a9011f4ef.tar.bz2
gentoo-d73a44c85bb501dcf6d4058c74a7814a9011f4ef.zip
dev-lang/qu-prolog: fix python script shebangs. Closes 766066
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Keri Harris <keri@gentoo.org>
Diffstat (limited to 'dev-lang/qu-prolog')
-rw-r--r--dev-lang/qu-prolog/qu-prolog-10.6.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index 612cd9be1877..85d6eac48632 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-inherit autotools multilib qmake-utils
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit autotools multilib python-any-r1 qmake-utils
MY_P=qp${PV}
@@ -35,6 +37,8 @@ src_prepare() {
eapply_user
eautoconf
+
+ python_fix_shebang "${S}"/bin/qc.in
}
src_configure() {