summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-12-06 12:33:04 -0500
committerMatt Turner <mattst88@gentoo.org>2020-12-06 12:51:59 -0500
commit4db412b4dbb3cee5b343251bf8018c64b0f5199a (patch)
tree133c10b36890b974aae67cd8448efd2e9a9e4db9 /dev-util/gtk-doc
parentdev-python/jsonrpclib: Remove old (diff)
downloadgentoo-4db412b4dbb3cee5b343251bf8018c64b0f5199a.tar.gz
gentoo-4db412b4dbb3cee5b343251bf8018c64b0f5199a.tar.bz2
gentoo-4db412b4dbb3cee5b343251bf8018c64b0f5199a.zip
dev-util/gtk-doc: Fix python shebangs
Closes: https://bugs.gentoo.org/758770 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/gtk-doc')
-rw-r--r--dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild (renamed from dev-util/gtk-doc/gtk-doc-1.33.1.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/gtk-doc/gtk-doc-1.33.1.ebuild b/dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild
index 793aed977cca..c0e8bf251f98 100644
--- a/dev-util/gtk-doc/gtk-doc-1.33.1.ebuild
+++ b/dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild
@@ -80,7 +80,10 @@ src_compile() {
src_install() {
meson_src_install
- python_fix_shebang "${ED}"/usr/bin/gtkdoc-depscan
+ # The meson build system configures the shebangs to the temporary python
+ # used during the build. We need to fix it.
+ sed -i -e 's:^#!.*:#!/usr/bin/env python3:' "${ED}"/usr/bin/* || die
+ python_fix_shebang "${ED}"/usr/bin/*
if use emacs; then
elisp-install ${PN} tools/gtk-doc.el*