1 |
commit: d07c174f472a910ef8df1dc8a58ce9ec8ee2dc9a |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 11 17:02:48 2021 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 11 18:01:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07c174f |
7 |
|
8 |
app-emulation/libvirt: fix python shebangs |
9 |
|
10 |
Closes: https://bugs.gentoo.org/762742 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
13 |
|
14 |
app-emulation/libvirt/libvirt-7.0.0.ebuild | 3 +++ |
15 |
1 file changed, 3 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/libvirt/libvirt-7.0.0.ebuild b/app-emulation/libvirt/libvirt-7.0.0.ebuild |
18 |
index cf47d8b2f95..d0071b6d631 100644 |
19 |
--- a/app-emulation/libvirt/libvirt-7.0.0.ebuild |
20 |
+++ b/app-emulation/libvirt/libvirt-7.0.0.ebuild |
21 |
@@ -210,12 +210,15 @@ pkg_setup() { |
22 |
if [[ -n ${CONFIG_CHECK} ]]; then |
23 |
linux-info_pkg_setup |
24 |
fi |
25 |
+ |
26 |
+ python-any-r1_pkg_setup |
27 |
} |
28 |
|
29 |
src_prepare() { |
30 |
touch "${S}/.mailmap" || die |
31 |
|
32 |
default |
33 |
+ python_fix_shebang . |
34 |
|
35 |
# Tweak the init script: |
36 |
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die |