diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-09-09 14:23:09 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-09-09 14:24:39 +0100 |
commit | 65e13519d31aad18c7458a52be961a4edc728569 (patch) | |
tree | ca7c4a1cb832e40c6886d33fbbac30fc3a088b44 /sys-libs/libsmbios | |
parent | dev-embedded/picprog: update HOMEPAGE and SRC_URI (diff) | |
download | gentoo-65e13519d31aad18c7458a52be961a4edc728569.tar.gz gentoo-65e13519d31aad18c7458a52be961a4edc728569.tar.bz2 gentoo-65e13519d31aad18c7458a52be961a4edc728569.zip |
sys-libs/libsmbios: only fix Python shebangs if USE='python test'
Closes: https://bugs.gentoo.org/869341
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 1a480d6268b6..9fc8294ebd04 100644 --- a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild @@ -45,7 +45,9 @@ 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 + if use test && use python; then + python_fix_shebang src/pyunit/test*.py + fi eautoreconf } |