# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 LUA_COMPAT=( luajit ) PYTHON_COMPAT=( python3_{7..10} ) LLVM_MAX_SLOT=13 inherit cmake eapi8-dosym linux-info llvm lua-single python-r1 DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" HOMEPAGE="https://iovisor.github.io/bcc/" SRC_URI="https://github.com/iovisor/bcc/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="+lua test" REQUIRED_USE="${PYTHON_REQUIRED_USE} lua? ( ${LUA_REQUIRED_USE} )" # tests need root access RESTRICT="test" RDEPEND=" >=dev-libs/elfutils-0.166:= >=dev-libs/libbpf-0.5.0:=[static-libs(-)] >=sys-kernel/linux-headers-5.13