Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/perf/
Date: Sat, 01 May 2021 08:07:22
Message-Id: 1619856396.0449b9f5493299e97f4a7556e21767a16a79abf3.slyfox@gentoo
1 commit: 0449b9f5493299e97f4a7556e21767a16a79abf3
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 1 08:06:36 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 1 08:06:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0449b9f5
7
8 dev-util/perf: unconditionally apply PYTHON_REQUIRED_USE
9
10 Bug #765397 declared unconditional use of python at build time.
11 REQUIRED_USE needs to enforce that. Otherwise users could provide
12 incompatible python_* USEs and get late build failures.
13
14 Reported-by: Daniel M. Weeks
15 Bug: https://bugs.gentoo.org/765397
16 Closes: https://bugs.gentoo.org/787242
17 Package-Manager: Portage-3.0.18, Repoman-3.0.3
18 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
19
20 dev-util/perf/perf-5.11.ebuild | 2 +-
21 dev-util/perf/perf-5.12.ebuild | 2 +-
22 2 files changed, 2 insertions(+), 2 deletions(-)
23
24 diff --git a/dev-util/perf/perf-5.11.ebuild b/dev-util/perf/perf-5.11.ebuild
25 index 979b7517199..9de12cc7035 100644
26 --- a/dev-util/perf/perf-5.11.ebuild
27 +++ b/dev-util/perf/perf-5.11.ebuild
28 @@ -34,7 +34,7 @@ SLOT="0"
29 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
30 IUSE="audit clang crypt debug +demangle +doc gtk java libpfm lzma numa perl python slang systemtap unwind zlib"
31 # TODO babeltrace
32 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
33 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
34
35 BDEPEND="
36 ${LINUX_PATCH+dev-util/patchutils}
37
38 diff --git a/dev-util/perf/perf-5.12.ebuild b/dev-util/perf/perf-5.12.ebuild
39 index 9ca795b5dee..795634dc8cd 100644
40 --- a/dev-util/perf/perf-5.12.ebuild
41 +++ b/dev-util/perf/perf-5.12.ebuild
42 @@ -34,7 +34,7 @@ SLOT="0"
43 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
44 IUSE="audit babeltrace clang crypt debug +demangle +doc gtk java libpfm lzma numa perl python slang systemtap unwind zlib"
45 # TODO babeltrace
46 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48
49 BDEPEND="
50 ${LINUX_PATCH+dev-util/patchutils}