1 |
commit: 12418e70be9a9a6a44216b1741a51dfa82a89b22 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 2 01:45:58 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 01:51:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12418e70 |
7 |
|
8 |
dev-util/bcc: version bump to 0.5.0_p20171230 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/642852 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
dev-util/bcc/Manifest | 1 + |
14 |
dev-util/bcc/bcc-0.5.0_p20171230.ebuild | 51 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest |
18 |
index 8346a7fbce5..c368c0136da 100644 |
19 |
--- a/dev-util/bcc/Manifest |
20 |
+++ b/dev-util/bcc/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST bcc-0.5.0.tar.gz 1764775 BLAKE2B e1e059b83846115347f225e968edd2823408c26f4f25a89e26c663147ca9c379222c4f1d97578f7cf981fbbb23307deab408bcb278cb26fde5399afbbceb1e39 SHA512 12de5ef04185dccd0847fc97ae855b386e0c81b545ae497af797667925ebedf97164c17fb99468abae3f87fb3ddfdba5200070f80b3bbcad63c2355497012f0e |
23 |
+DIST bcc-0.5.0_p20171230.tar.gz 1773522 BLAKE2B bc5ec32570cf230f071c10d2925a8c8a777c60c22d31bbf72f3cad1718e59dacd604e45a326ff2a941aa519a2b3544bc7376dd40ceafe154c497b488e0ec1b9b SHA512 d8e810768b5801c0beef98a13ee23eb8aa756f7f8a3e35f6a391958e30affc5a8622a9b75c785f66d86761105045cb2b1c7ce284f3ac3b482a4605987bea9f30 |
24 |
|
25 |
diff --git a/dev-util/bcc/bcc-0.5.0_p20171230.ebuild b/dev-util/bcc/bcc-0.5.0_p20171230.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5062f45dfd8 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/bcc/bcc-0.5.0_p20171230.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit cmake-utils linux-info python-single-r1 python-utils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" |
41 |
+HOMEPAGE="https://iovisor.github.io/bcc/" |
42 |
+EGIT_COMMIT="82ef5a0d999b687d26059e5adfdaac3e605f2339" |
43 |
+SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
44 |
+RESTRICT="test" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+RDEPEND=">=dev-libs/elfutils-0.166:= |
53 |
+ sys-devel/clang:= |
54 |
+ >=sys-devel/llvm-3.7:=[llvm_targets_BPF(+)] |
55 |
+ ${PYTHON_DEPS}" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+S=${WORKDIR}/${PN}-${EGIT_COMMIT#v} |
58 |
+ |
59 |
+pkg_pretend() { |
60 |
+ local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF |
61 |
+ ~BPF_JIT ~BPF_EVENTS" |
62 |
+ |
63 |
+ check_extra_config |
64 |
+} |
65 |
+ |
66 |
+pkg_setup() { |
67 |
+ python-single-r1_pkg_setup |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local mycmakeargs=( |
72 |
+ -DREVISION=${PV%%_*} |
73 |
+ ) |
74 |
+ |
75 |
+ cmake-utils_src_configure |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ cmake-utils_src_install |
80 |
+ python_fix_shebang "${ED}" |
81 |
+} |