diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-09-07 15:04:03 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-09-07 15:30:12 +0100 |
commit | aec467bece26b0d6ea4399849e1125bb30cf9db4 (patch) | |
tree | 76ecf7567dd4a25f713d4323d48a23ead896ea11 /sys-libs/libsmbios | |
parent | x11-terms/rxvt-unicode: allow USE='perl -fading-colors' but print a warning (diff) | |
download | gentoo-aec467bece26b0d6ea4399849e1125bb30cf9db4.tar.gz gentoo-aec467bece26b0d6ea4399849e1125bb30cf9db4.tar.bz2 gentoo-aec467bece26b0d6ea4399849e1125bb30cf9db4.zip |
sys-libs/libsmbios: fix Python shebangs where necessary
Closes: https://bugs.gentoo.org/777012
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-libs/libsmbios')
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.4.3.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild index ce9ff13b731d..1bec5f76a965 100644 --- a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild @@ -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/ |