diff options
author | Michal Privoznik <michal.privoznik@gmail.com> | 2024-12-01 08:59:13 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-01 10:41:40 +0000 |
commit | 83f72c94f1b802a9ac38973d27b2303ac16a0b90 (patch) | |
tree | 9a69edcac79616e3fa59cd538d255e01a5de79cf /dev-tcltk | |
parent | sys-kernel/dkms: add 3.1.3 (diff) | |
download | gentoo-83f72c94f1b802a9ac38973d27b2303ac16a0b90.tar.gz gentoo-83f72c94f1b802a9ac38973d27b2303ac16a0b90.tar.bz2 gentoo-83f72c94f1b802a9ac38973d27b2303ac16a0b90.zip |
app-emulation/virt-manager: Fix shebang of installed files
Previously, app-emulation/virt-manager was installed using
distutils which automatically fixed shebang on installed python
scripts. Then virt-manager switched to meson, and our ebuilds
simply started inheriting meson instead of distutils-r1. But this
alone is not enough as shebangs are now broken. Fortunately,
there's python_fix_shebang which can be called to fix shebangs
and in ideal world this function would be called in src_prepare()
but this is not the case. virt-manager and other files are
generated at compile time with also too generic shebang [1].
Therefore, let's do that at the end of src_install().
1: https://github.com/virt-manager/virt-manager/blob/main/scripts/make_bin_wrapper.py
Fixes: c5ca13d818262729e691e4d23487cb427b50665d
Closes: https://bugs.gentoo.org/945329
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-tcltk')
0 files changed, 0 insertions, 0 deletions