sys-libs/libsmbios: fix Python shebangs where necessary

Closes: https://bugs.gentoo.org/777012
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2022-09-07 15:04:03 +01:00
parent 97c208dd57
commit aec467bece

View File

@@ -44,6 +44,8 @@ src_prepare() {
# Don't build yum-plugin - we don't need it
sed '/yum-plugin/d' -i Makefile.am || die
python_fix_shebang src/pyunit/test*.py
eautoreconf
}
@@ -66,7 +68,7 @@ src_install() {
if use python ; then
python_scriptinto /usr/sbin
python_doscript "${ED}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
python_doscript "${ED}"/usr/sbin/smbios-{{battery,keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
fi
insinto /usr/include/