public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/
Date: Wed, 12 Oct 2022 22:39:50 +0000 (UTC)	[thread overview]
Message-ID: <1665614075.7942b85a240f26e3ec4c8d1fc6cfb32bd1168d0a.sam@gentoo> (raw)

commit:     7942b85a240f26e3ec4c8d1fc6cfb32bd1168d0a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 22:30:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 22:34:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7942b85a

sys-cluster/rdma-core: sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/rdma-core/rdma-core-9999.ebuild | 38 +++++++++++++++++------------
 1 file changed, 22 insertions(+), 16 deletions(-)

diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild b/sys-cluster/rdma-core/rdma-core-9999.ebuild
index d5ec302d2c93..d3914a582bc8 100644
--- a/sys-cluster/rdma-core/rdma-core-9999.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild
@@ -1,16 +1,16 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{6..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit cmake 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
+if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core"
 else
@@ -24,19 +24,18 @@ 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 '
 			dev-python/cython[${PYTHON_USEDEP}]
 		')
 	)"
-
 RDEPEND="${COMMON_DEPEND}
 	!sys-fabric/infiniband-diags
 	!sys-fabric/libibverbs
@@ -53,29 +52,28 @@ RDEPEND="${COMMON_DEPEND}
 	!sys-fabric/libmlx5
 	!sys-fabric/libocrdma
 	!sys-fabric/libnes"
+# python is required unconditionally at build-time
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig"
 
-BDEPEND="virtual/pkgconfig"
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-
-}
+PATCHES=( "${FILESDIR}"/${PN}-39.0-RDMA_BuildType.patch )
 
 src_configure() {
 	local mycmakeargs=(
 		-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
 		-DCMAKE_INSTALL_RUNDIR=/run
-		-DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib
-		-DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}""$(get_udevdir)"/rules.d
+		-DCMAKE_INSTALL_SHAREDSTATEDIR="${EPREFIX}"/var/lib
+		-DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}$(get_udevdir)"/rules.d
 		-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)"
-		-DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex systemd no yes)"
+		-DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex !systemd)"
 		-DENABLE_VALGRIND="$(usex valgrind)"
 		-DENABLE_RESOLVE_NEIGH="$(usex neigh)"
 		-DENABLE_STATIC="$(usex static-libs)"
-		-DNO_PYVERBS="$(usex python OFF ON)"
+		-DNO_PYVERBS="$(usex !python)"
 		-DNO_MAN_PAGES=1
+		-DPYTHON_EXECUTABLE="${PYTHON}"
 	)
-
 	cmake_src_configure
 }
 
@@ -94,3 +92,11 @@ src_install() {
 
 	use python && python_optimize
 }
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


             reply	other threads:[~2022-10-12 22:39 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12 22:39 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-04  5:02 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/ Sam James
2025-05-04  5:02 Sam James
2025-05-04  4:59 Sam James
2025-05-03  5:22 Patrick Lauer
2025-05-02  9:20 Patrick Lauer
2024-12-09  6:22 Patrick Lauer
2024-11-02  9:43 Arthur Zamarin
2024-11-01 20:42 Sam James
2024-11-01 20:42 Sam James
2024-11-01 17:38 Arthur Zamarin
2024-11-01 17:38 Arthur Zamarin
2024-11-01 17:38 Arthur Zamarin
2024-03-10 14:49 Sam James
2024-03-03 19:03 Michał Górny
2024-03-03  0:25 Sam James
2024-03-01 16:46 Sam James
2024-03-01 16:46 Sam James
2024-02-29 22:23 Sam James
2024-02-29 22:17 Sam James
2024-02-29  8:04 Sam James
2024-02-29  8:02 Sam James
2023-10-12  6:50 罗百科
2023-10-11 16:43 Florian Schmaus
2023-10-11  9:03 Florian Schmaus
2023-10-11  9:03 Florian Schmaus
2023-10-11  9:03 Florian Schmaus
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-07-17 20:31 Sam James
2023-07-07 19:46 Arthur Zamarin
2023-07-05  0:41 Sam James
2023-07-04 22:32 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:14 Sam James
2023-07-04 22:13 Sam James
2023-05-14 17:11 Sam James
2023-03-21 20:12 Florian Schmaus
2023-02-21 13:42 David Seifert
2023-02-20 21:58 Arthur Zamarin
2023-02-20 19:51 Arthur Zamarin
2023-02-20 19:39 Arthur Zamarin
2023-02-20 19:32 Arthur Zamarin
2023-02-20 19:12 Arthur Zamarin
2023-02-20 19:09 Arthur Zamarin
2022-11-16 23:18 Sam James
2022-11-16  7:58 Arthur Zamarin
2022-11-15  8:46 Sam James
2022-11-15  8:46 Sam James
2022-11-15  6:46 Arthur Zamarin
2022-11-15  6:46 Arthur Zamarin
2022-11-12 19:53 Florian Schmaus
2022-11-12 19:53 Florian Schmaus
2022-11-12 19:29 Florian Schmaus
2022-10-12 22:39 Sam James
2022-08-12 12:07 David Seifert
2022-08-12 11:55 Agostino Sarubbo
2022-08-10 10:56 Arthur Zamarin
2022-08-08 12:39 Agostino Sarubbo
2022-08-08 12:37 Agostino Sarubbo
2022-08-08 12:35 Agostino Sarubbo
2022-08-08 12:34 Agostino Sarubbo
2022-06-25 21:04 David Seifert
2022-02-04 18:40 Michał Górny
2022-01-29  8:49 Agostino Sarubbo
2022-01-29  7:14 Arthur Zamarin
2022-01-29  7:02 Arthur Zamarin
2022-01-29  6:57 Arthur Zamarin
2022-01-29  3:51 Sam James
2022-01-29  2:48 Sam James
2022-01-29  2:48 Sam James
2021-11-19 16:27 Guilherme Amadio
2021-11-19 16:27 Guilherme Amadio
2021-09-01  5:09 罗百科
2021-08-31 14:09 Mikle Kolyada
2021-07-27 13:49 Marek Szuba
2021-07-17 18:18 David Seifert
2021-03-28 13:13 Mikle Kolyada
2021-03-01 15:25 罗百科
2021-01-07 11:08 Mikle Kolyada
2020-11-08  0:32 Sam James
2020-11-08  0:32 Sam James
2020-11-07 20:37 Sergei Trofimovich
2020-11-07 20:34 Sergei Trofimovich
2020-11-07 20:22 Sergei Trofimovich
2020-11-07 20:10 Sergei Trofimovich
2020-11-04 12:39 Mikle Kolyada
2020-09-01  8:38 Mikle Kolyada
2020-08-29  8:21 Mikle Kolyada
2020-08-14 12:41 Mikle Kolyada
2020-08-14 12:41 Mikle Kolyada
2020-08-14 12:41 Mikle Kolyada
2020-07-14 13:55 Sam James
2020-07-10 19:51 Mikle Kolyada
2020-07-10 19:45 Mikle Kolyada
2020-07-10 19:41 Mikle Kolyada
2020-07-10 19:39 Mikle Kolyada
2020-07-09 17:32 Mikle Kolyada
2020-06-26 20:21 Thomas Deutschmann
2020-06-25 10:54 Mikle Kolyada
2020-06-25 10:53 Mikle Kolyada
2020-05-11  6:23 Mart Raudsepp
2020-04-18 13:15 Mikle Kolyada
2020-03-18  0:18 Matt Turner
2020-03-02 18:26 Sergei Trofimovich
2020-02-29 10:25 Sergei Trofimovich
2020-02-23  8:51 Mikle Kolyada
2020-02-09 16:42 Michał Górny
2020-02-06 16:19 Mikle Kolyada
2020-02-06  9:02 Sergei Trofimovich
2020-02-06  8:34 Sergei Trofimovich
2020-02-06  8:23 Sergei Trofimovich
2020-01-20 13:36 Jeroen Roovers
2020-01-20 13:30 Jeroen Roovers
2019-12-28 20:41 Mikle Kolyada
2019-11-27 11:03 Mikle Kolyada
2019-11-27 11:03 Mikle Kolyada
2019-11-27 11:03 Mikle Kolyada
2019-10-05 19:00 Mikle Kolyada
2019-09-08 11:12 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1665614075.7942b85a240f26e3ec4c8d1fc6cfb32bd1168d0a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox