summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-04-24 09:06:17 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-04-24 09:07:42 +0100
commit1fc204c353e4abe8bb90aa5d59790e3af4586bbf (patch)
treec4d6b5e20390720e64b532f4e5c53f919a10a8d7 /dev-util/perf
parentmedia-libs/libsdl2: Build regression has disappeared (diff)
downloadgentoo-1fc204c353e4abe8bb90aa5d59790e3af4586bbf.tar.gz
gentoo-1fc204c353e4abe8bb90aa5d59790e3af4586bbf.tar.bz2
gentoo-1fc204c353e4abe8bb90aa5d59790e3af4586bbf.zip
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 <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/perf')
-rw-r--r--dev-util/perf/perf-5.11.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-util/perf/perf-5.11.ebuild b/dev-util/perf/perf-5.11.ebuild
index 5bcbb7413e98..92f4c1ae43f6 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() {