From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1175636-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 023151382C5
	for <garchives@archives.gentoo.org>; Sun, 31 May 2020 09:44:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2A309E091B;
	Sun, 31 May 2020 09:44:21 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 0DBC1E091B
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2020 09:44:20 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B76E234EFFE
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2020 09:44:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 29CE4270
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2020 09:44:18 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1590918249.4ecdcc89132e0612d3b639606baf67bc7eb995cb.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/hivex/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-misc/hivex/hivex-1.3.18.ebuild
X-VCS-Directories: app-misc/hivex/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 4ecdcc89132e0612d3b639606baf67bc7eb995cb
X-VCS-Branch: master
Date: Sun, 31 May 2020 09:44:18 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 57a33542-c808-4c31-a19a-d9f6591c3ffa
X-Archives-Hash: 0fcb6842ab716c2dbd1347576abbd27c

commit:     4ecdcc89132e0612d3b639606baf67bc7eb995cb
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 14:58:24 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 31 09:44:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecdcc89

app-misc/hivex: fix build with USE=-python

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Closes: https://bugs.gentoo.org/715374
Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-misc/hivex/hivex-1.3.18.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-misc/hivex/hivex-1.3.18.ebuild b/app-misc/hivex/hivex-1.3.18.ebuild
index d50454845f2..da2e2b6fae0 100644
--- a/app-misc/hivex/hivex-1.3.18.ebuild
+++ b/app-misc/hivex/hivex-1.3.18.ebuild
@@ -96,7 +96,9 @@ src_install() {
 	strip-linguas -i po
 
 	emake install DESTDIR="${ED}" "LINGUAS=""${LINGUAS}"""
-	python_optimize
+	if use python; then
+		python_optimize
+	fi
 
 	ruby-ng_src_install