From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D2D0359CB1 for ; Mon, 11 Apr 2016 07:28:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3B3C21C02F; Mon, 11 Apr 2016 07:28:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3CA2421C02F for ; Mon, 11 Apr 2016 07:28:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A15003408EE for ; Mon, 11 Apr 2016 07:28:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBA7A20E for ; Mon, 11 Apr 2016 07:28:35 +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: <1460359688.0934d916f62664f189e133643acadb44b326b6af.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.1.8.ebuild dev-util/bcc/metadata.xml X-VCS-Directories: dev-util/bcc/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0934d916f62664f189e133643acadb44b326b6af X-VCS-Branch: master Date: Mon, 11 Apr 2016 07:28:35 +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: f8516fcb-f65b-44d6-847b-6939d9dbb582 X-Archives-Hash: 233d9536178ec4342786e592594384fc commit: 0934d916f62664f189e133643acadb44b326b6af Author: Zac Medico gentoo org> AuthorDate: Mon Apr 11 07:26:27 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Apr 11 07:28:08 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0934d916 dev-util/bcc: new package Package-Manager: portage-2.2.28 dev-util/bcc/Manifest | 1 + dev-util/bcc/bcc-0.1.8.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++ dev-util/bcc/metadata.xml | 10 +++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest new file mode 100644 index 0000000..e2f687a --- /dev/null +++ b/dev-util/bcc/Manifest @@ -0,0 +1 @@ +DIST bcc-0.1.8.tar.gz 694032 SHA256 7535d0dec063454a858337dd07211ad2a207f8fa5665a3fad166f38415e50d70 SHA512 d5a0ba306043f8601c7e358546a57e518f2843228dbeca71d483385b00505af46c89eb92437955e9c325d9b326314101b344e8ca4930bca4161614ca1c893301 WHIRLPOOL 198bdcd72b1a701f8a73fa3ede9385dff2cc0869859962841187692838e002cb78a753f128084d67450d5aeb01034b873268188cecf4af188a5db7a67e676b50 diff --git a/dev-util/bcc/bcc-0.1.8.ebuild b/dev-util/bcc/bcc-0.1.8.ebuild new file mode 100644 index 0000000..8673ca6 --- /dev/null +++ b/dev-util/bcc/bcc-0.1.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +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=">=sys-devel/llvm-3.7:=[clang] + ${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 ~HAVE_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}" +} diff --git a/dev-util/bcc/metadata.xml b/dev-util/bcc/metadata.xml new file mode 100644 index 0000000..43eb746 --- /dev/null +++ b/dev-util/bcc/metadata.xml @@ -0,0 +1,10 @@ + + + + + zmedico@gentoo.org + + + iovisor/bcc + +