From 9927a292c3d456cdf508478fdbc2253ac81653ba Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 14 Dec 2017 11:07:24 -0800 Subject: dev-util/bcc: version bump to 0.5.0 Package-Manager: Portage-2.3.18, Repoman-2.3.6 --- dev-util/bcc/Manifest | 1 + dev-util/bcc/bcc-0.5.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 dev-util/bcc/bcc-0.5.0.ebuild (limited to 'dev-util/bcc') diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest index 92c6c5dc5451..251c71adfd17 100644 --- a/dev-util/bcc/Manifest +++ b/dev-util/bcc/Manifest @@ -1,2 +1,3 @@ DIST bcc-0.3.0_p20170913.tar.gz 1736513 BLAKE2B 1ed234f3c74e3cc9f47a26f97a8e296499eecc30442a59a3da7b4a5bdb0d628033f01c9ba038a0f2c2de13dd381a627590d387d0c77361e82c10e0a4f5d145b2 SHA512 8298d98fcadc95a2f5f27e1f656f392634c0940cf6ea03f432135477790e770f58dc3e3e0b434391eff8d4e3df6671c250252a29a7344c6adf7606251daef4dd DIST bcc-0.4.0.tar.gz 1752520 BLAKE2B 3fdaafebc0ceadbdc5ab2ce0fc7e154ebe0242adb1fec912f517cbf14065a0e79d21794b47a82c4b29c8a618882f75b0d22a29799387c7c250ec54ac7ec5f89e SHA512 d4bca6ab30ed2d398685a5e142bc55ebd70d29b494ce9fa28d85aceb1843111de8f1c61049712d8be9ab827b65866db07b6be27e82bd243e182b7bbe6fb2014f +DIST bcc-0.5.0.tar.gz 1764775 BLAKE2B e1e059b83846115347f225e968edd2823408c26f4f25a89e26c663147ca9c379222c4f1d97578f7cf981fbbb23307deab408bcb278cb26fde5399afbbceb1e39 SHA512 12de5ef04185dccd0847fc97ae855b386e0c81b545ae497af797667925ebedf97164c17fb99468abae3f87fb3ddfdba5200070f80b3bbcad63c2355497012f0e diff --git a/dev-util/bcc/bcc-0.5.0.ebuild b/dev-util/bcc/bcc-0.5.0.ebuild new file mode 100644 index 000000000000..0e8e32826953 --- /dev/null +++ b/dev-util/bcc/bcc-0.5.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit cmake-utils linux-info python-single-r1 python-utils-r1 + +DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" +HOMEPAGE="https://iovisor.github.io/bcc/" +EGIT_COMMIT="v${PV}" +SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +RESTRICT="test" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=dev-libs/elfutils-0.166:= + sys-devel/clang:= + >=sys-devel/llvm-3.7:=[llvm_targets_BPF(+)] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${PN}-${EGIT_COMMIT#v} + +pkg_pretend() { + local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF + ~BPF_JIT ~BPF_EVENTS" + + check_extra_config +} + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DREVISION=${PV%%_*} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + python_fix_shebang "${ED}" +} -- cgit v1.2.3-65-gdbad