Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bpftrace/
Date: Sun, 07 Nov 2021 20:59:48
Message-Id: 1636318718.10f8fc530a1115a751bc4c3756453c8700163947.jsmolic@gentoo
1 commit: 10f8fc530a1115a751bc4c3756453c8700163947
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 20:58:14 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 20:58:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f8fc53
7
8 dev-util/bpftrace: Drop live ebuild skeleton
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 dev-util/bpftrace/bpftrace-0.14.0-r3.ebuild | 22 ++++++----------------
13 1 file changed, 6 insertions(+), 16 deletions(-)
14
15 diff --git a/dev-util/bpftrace/bpftrace-0.14.0-r3.ebuild b/dev-util/bpftrace/bpftrace-0.14.0-r3.ebuild
16 index abc8391c68e..efe4e68822d 100644
17 --- a/dev-util/bpftrace/bpftrace-0.14.0-r3.ebuild
18 +++ b/dev-util/bpftrace/bpftrace-0.14.0-r3.ebuild
19 @@ -7,19 +7,13 @@ inherit toolchain-funcs llvm linux-info cmake
20
21 DESCRIPTION="High-level tracing language for eBPF"
22 HOMEPAGE="https://github.com/iovisor/bpftrace"
23 -
24 -if [[ ${PV} =~ 9{4,} ]]; then
25 - EGIT_REPO_URI="https://github.com/iovisor/${PN}"
26 - inherit git-r3
27 -else
28 - MY_PV="${PV//_/}"
29 - SRC_URI="https://github.com/iovisor/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
30 - KEYWORDS="~amd64 ~x86"
31 - BDEPEND="app-arch/xz-utils "
32 -fi
33 +MY_PV="${PV//_/}"
34 +SRC_URI="https://github.com/iovisor/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
35 +S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
36
37 LICENSE="Apache-2.0"
38 SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 IUSE="fuzzing test"
41 # lots of fixing needed
42 RESTRICT="test"
43 @@ -38,12 +32,12 @@ DEPEND="
44 dev-libs/cereal:=
45 test? ( dev-cpp/gtest )
46 "
47 -BDEPEND+="
48 +BDEPEND="
49 + app-arch/xz-utils
50 sys-devel/flex
51 sys-devel/bison
52 "
53
54 -S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
55 QA_DT_NEEDED="/usr/lib.*/libbpftraceresources.so"
56
57 PATCHES=(
58 @@ -70,10 +64,6 @@ pkg_setup() {
59 LLVM_MAX_SLOT=13 llvm_pkg_setup
60 }
61
62 -src_prepare() {
63 - cmake_src_prepare
64 -}
65 -
66 src_configure() {
67 local -a mycmakeargs=(
68 -DSTATIC_LINKING:BOOL=OFF