1 |
commit: aec467bece26b0d6ea4399849e1125bb30cf9db4 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 7 14:04:03 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 7 14:30:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec467be |
7 |
|
8 |
sys-libs/libsmbios: fix Python shebangs where necessary |
9 |
|
10 |
Closes: https://bugs.gentoo.org/777012 |
11 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
12 |
|
13 |
sys-libs/libsmbios/libsmbios-2.4.3.ebuild | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild |
17 |
index ce9ff13b731d..1bec5f76a965 100644 |
18 |
--- a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild |
19 |
+++ b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild |
20 |
@@ -44,6 +44,8 @@ src_prepare() { |
21 |
# Don't build yum-plugin - we don't need it |
22 |
sed '/yum-plugin/d' -i Makefile.am || die |
23 |
|
24 |
+ python_fix_shebang src/pyunit/test*.py |
25 |
+ |
26 |
eautoreconf |
27 |
} |
28 |
|
29 |
@@ -66,7 +68,7 @@ src_install() { |
30 |
|
31 |
if use python ; then |
32 |
python_scriptinto /usr/sbin |
33 |
- python_doscript "${ED}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} |
34 |
+ python_doscript "${ED}"/usr/sbin/smbios-{{battery,keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} |
35 |
fi |
36 |
|
37 |
insinto /usr/include/ |