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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 281B41382C5 for ; Sat, 24 Apr 2021 08:07:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F64CE07C5; Sat, 24 Apr 2021 08:07:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 579EEE07C5 for ; Sat, 24 Apr 2021 08:07:51 +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 092D2341101 for ; Sat, 24 Apr 2021 08:07:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75D254C3 for ; Sat, 24 Apr 2021 08:07:48 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1619251662.1fc204c353e4abe8bb90aa5d59790e3af4586bbf.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/perf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/perf/perf-5.11.ebuild X-VCS-Directories: dev-util/perf/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 1fc204c353e4abe8bb90aa5d59790e3af4586bbf X-VCS-Branch: master Date: Sat, 24 Apr 2021 08:07:48 +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: 9a4dae1e-06ff-46f7-9f74-b3ae68e4cc2f X-Archives-Hash: f9b4e5574a17a4c9d288ee511e312f7b commit: 1fc204c353e4abe8bb90aa5d59790e3af4586bbf Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Apr 24 08:06:17 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Apr 24 08:07:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc204c3 dev-util/perf: unconditionally require build-time python libbpf generates it's API headers using python script. As ebuild enabled libbpf inconditionally we need python at build time unconditionally as well. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/765397 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/perf/perf-5.11.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-util/perf/perf-5.11.ebuild b/dev-util/perf/perf-5.11.ebuild index 5bcbb7413e9..92f4c1ae43f 100644 --- a/dev-util/perf/perf-5.11.ebuild +++ b/dev-util/perf/perf-5.11.ebuild @@ -46,7 +46,9 @@ BDEPEND=" app-text/sgml-common app-text/xmlto sys-process/time - )" + ) + ${PYTHON_DEPS} +" RDEPEND="audit? ( sys-process/audit ) crypt? ( dev-libs/openssl:0= ) @@ -88,6 +90,9 @@ pkg_pretend() { pkg_setup() { use clang && LLVM_MAX_SLOT=9 llvm_pkg_setup + # We enable python unconditionally as libbpf always generates + # API headers using python script + python_setup } src_unpack() {