# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) inherit cmake perl-functions python-single-r1 udev systemd DESCRIPTION="Userspace components for the Linux Kernel's drivers/infiniband subsystem" HOMEPAGE="https://github.com/linux-rdma/rdma-core" if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core" else SRC_URI="https://github.com/linux-rdma/rdma-core/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" fi LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )" SLOT="0" IUSE="neigh python static-libs systemd valgrind" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" COMMON_DEPEND=" dev-lang/perl virtual/libudev:= neigh? ( dev-libs/libnl:3 ) systemd? ( sys-apps/systemd:= ) valgrind? ( dev-util/valgrind ) python? ( ${PYTHON_DEPS} ) " DEPEND=" ${COMMON_DEPEND} python? ( $(python_gen_cond_dep '