From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA116158095 for ; Fri, 9 Sep 2022 13:25:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B110E0896; Fri, 9 Sep 2022 13:25:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 143CEE0896 for ; Fri, 9 Sep 2022 13:25:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34E1C33BEED for ; Fri, 9 Sep 2022 13:25:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BB65523 for ; Fri, 9 Sep 2022 13:25:03 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1662729879.65e13519d31aad18c7458a52be961a4edc728569.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libsmbios/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libsmbios/libsmbios-2.4.3.ebuild X-VCS-Directories: sys-libs/libsmbios/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 65e13519d31aad18c7458a52be961a4edc728569 X-VCS-Branch: master Date: Fri, 9 Sep 2022 13:25:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 957b9323-fbd3-42ea-90f1-6452120cecbd X-Archives-Hash: 319087fcbf44965c6557bed93e0f8260 commit: 65e13519d31aad18c7458a52be961a4edc728569 Author: Marek Szuba gentoo org> AuthorDate: Fri Sep 9 13:23:09 2022 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Sep 9 13:24:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e13519 sys-libs/libsmbios: only fix Python shebangs if USE='python test' Closes: https://bugs.gentoo.org/869341 Signed-off-by: Marek Szuba gentoo.org> sys-libs/libsmbios/libsmbios-2.4.3.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }