From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81471138335 for ; Wed, 21 Nov 2018 05:05:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 532CBE0928; Wed, 21 Nov 2018 05:05:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1668BE0928 for ; Wed, 21 Nov 2018 05:05:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2B35335CB7 for ; Wed, 21 Nov 2018 05:05:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46C84462 for ; Wed, 21 Nov 2018 05:05:11 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1542776694.2b19fa96d8c1f20712f93aade619ef727c76f0e9.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bcc/Manifest dev-util/bcc/bcc-0.7.0.ebuild X-VCS-Directories: dev-util/bcc/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 2b19fa96d8c1f20712f93aade619ef727c76f0e9 X-VCS-Branch: master Date: Wed, 21 Nov 2018 05:05:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e407e4ce-41bb-4fe9-ac24-242a62d2ad04 X-Archives-Hash: 5de4286f5c89a4665eb439e41ac6ac97 commit: 2b19fa96d8c1f20712f93aade619ef727c76f0e9 Author: Zac Medico gentoo org> AuthorDate: Wed Nov 21 04:39:26 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Nov 21 05:04:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b19fa96 dev-util/bcc: version bump to 0.7.0 Reported-by: Andy Dalton gmail.com> Closes: https://bugs.gentoo.org/671604 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Zac Medico gentoo.org> dev-util/bcc/Manifest | 1 + dev-util/bcc/bcc-0.7.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest index 0eba5f3d0ac..d199a94a968 100644 --- a/dev-util/bcc/Manifest +++ b/dev-util/bcc/Manifest @@ -1,2 +1,3 @@ DIST bcc-0.5.0_p20171230.tar.gz 1773522 BLAKE2B bc5ec32570cf230f071c10d2925a8c8a777c60c22d31bbf72f3cad1718e59dacd604e45a326ff2a941aa519a2b3544bc7376dd40ceafe154c497b488e0ec1b9b SHA512 d8e810768b5801c0beef98a13ee23eb8aa756f7f8a3e35f6a391958e30affc5a8622a9b75c785f66d86761105045cb2b1c7ce284f3ac3b482a4605987bea9f30 DIST bcc-0.6.0.tar.gz 1986593 BLAKE2B 514c2c781eb94d99560232d8050b5664ce3565622b236e78cd111be27b3482849965600a1d574f59243917672f00bb3cef65cab63103f6c4a5cf62024c683d9b SHA512 1a8edf6da22f3119a74cf43f03ec83b97ed2f6fc18828d750d8a695ac1451b6b3209e5d2cf48bc87f53fa9447e8813a018a58d31588d477e4aa364a2d0217e80 +DIST bcc-0.7.0.tar.gz 2009289 BLAKE2B 370b553521289d983d1165633e76a5e405250b9b09dbf3e78c127d232908e73facce06097ce4dbf0bbccda929b6715a9b7460affe123556087c8ca00b8d62c0b SHA512 ebe6c4cbecba2d587c69af71ddc8cb451b2b8e1d49ef887f291c813320c2c60d49357500fc2751d5b418df2be1d02763c385d89de6efa6e10f049c25acf01b4e diff --git a/dev-util/bcc/bcc-0.7.0.ebuild b/dev-util/bcc/bcc-0.7.0.ebuild new file mode 100644 index 00000000000..9d90ec40225 --- /dev/null +++ b/dev-util/bcc/bcc-0.7.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) + +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 ~DEBUG_INFO ~FUNCTION_TRACER ~KALLSYMS_ALL" + + 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}" +}