From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1341382-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E199158086 for <garchives@archives.gentoo.org>; Fri, 19 Nov 2021 16:27:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E488E07C5; Fri, 19 Nov 2021 16:27:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2464E07C5 for <gentoo-commits@lists.gentoo.org>; Fri, 19 Nov 2021 16:27:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53E103430BB for <gentoo-commits@lists.gentoo.org>; Fri, 19 Nov 2021 16:27:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D91A1D4 for <gentoo-commits@lists.gentoo.org>; Fri, 19 Nov 2021 16:27:51 +0000 (UTC) From: "Guilherme Amadio" <amadio@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" <amadio@gentoo.org> Message-ID: <1637339250.0a31e474b9dfae6c26d37d3dc4297652680fdfc7.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/rdma-core/rdma-core-9999.ebuild X-VCS-Directories: sys-cluster/rdma-core/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 0a31e474b9dfae6c26d37d3dc4297652680fdfc7 X-VCS-Branch: master Date: Fri, 19 Nov 2021 16:27:51 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9c1600a0-7847-4c9d-a990-87013ed646de X-Archives-Hash: 61b5fe52cddf8cf3d20a55d8e74821d5 commit: 0a31e474b9dfae6c26d37d3dc4297652680fdfc7 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> AuthorDate: Fri Nov 19 14:27:55 2021 +0000 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> CommitDate: Fri Nov 19 16:27:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a31e474 sys-cluster/rdma-core: update live ebuild Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> sys-cluster/rdma-core/rdma-core-9999.ebuild | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild b/sys-cluster/rdma-core/rdma-core-9999.ebuild index 8d9538a1c0b0..f78ff20324b2 100644 --- a/sys-cluster/rdma-core/rdma-core-9999.ebuild +++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_8 ) +PYTHON_COMPAT=( python3_{6..10} ) inherit cmake python-single-r1 udev systemd @@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core" else SRC_URI="https://github.com/linux-rdma/rdma-core/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )" @@ -33,7 +33,7 @@ COMMON_DEPEND=" DEPEND="${COMMON_DEPEND} python? ( $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_MULTI_USEDEP}] ') )" @@ -56,8 +56,6 @@ RDEPEND="${COMMON_DEPEND} BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}"/optional_pandoc.patch ) - pkg_setup() { use python && python-single-r1_pkg_setup @@ -65,33 +63,27 @@ pkg_setup() { src_configure() { local mycmakeargs=( - -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc -DCMAKE_INSTALL_RUNDIR=/run -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib - -DCMAKE_INSTALL_UDEV_RULESDIR="$(get_udevdir)"/rules.d + -DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}""$(get_udevdir)"/rules.d -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)" - -DCMAKE_DISABLE_FIND_PACKAGE_pandoc=yes - $(ver_test -ge 25 && echo -DCMAKE_DISABLE_FIND_PACKAGE_rst2man=yes) -DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex systemd no yes)" -DENABLE_VALGRIND="$(usex valgrind)" -DENABLE_RESOLVE_NEIGH="$(usex neigh)" -DENABLE_STATIC="$(usex static-libs)" + -DNO_PYVERBS="$(usex python OFF ON)" + -DNO_MAN_PAGES=1 ) - if use python; then - mycmakeargs+=( -DNO_PYVERBS=OFF -DPYTHON_EXECUTABLE="${PYTHON}" ) - else - mycmakeargs+=( -DNO_PYVERBS=ON ) - fi - cmake_src_configure } src_install() { cmake_src_install - udev_dorules "${D}"/etc/udev/rules.d/70-persistent-ipoib.rules - rm -r "${D}"/etc/{udev,init.d} || die + udev_dorules "${ED}"/etc/udev/rules.d/70-persistent-ipoib.rules + rm -r "${ED}"/etc/{udev,init.d} || die if use neigh; then newinitd "${FILESDIR}"/ibacm.init ibacm