commit:     8b99a3db10113031414f6eef75892c2848a9e9e0
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Nov 25 16:24:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 11:40:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b99a3db

sys-cluster/pmix: add 5.0.9

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45111
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/pmix/Manifest          |  1 +
 sys-cluster/pmix/pmix-5.0.9.ebuild | 60 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/sys-cluster/pmix/Manifest b/sys-cluster/pmix/Manifest
index 61faef771df8..49eb08b4308f 100644
--- a/sys-cluster/pmix/Manifest
+++ b/sys-cluster/pmix/Manifest
@@ -2,3 +2,4 @@ DIST pmix-4.2.2.tar.bz2 1639600 BLAKE2B 
b5109900e52750656200e7bdbdc39d870a01f5af
 DIST pmix-4.2.8.tar.bz2 4800886 BLAKE2B 
49c6c74f2a3d4826ade004e2ca69f8adafb26232b8fe92f5e620e11f93bde6a84a3611e737818564a3a5fd6fb75a4819250fa038e55aab46cf0a29c3f04e9f7e
 SHA512 
2bc78cda82af24a9d7db204684e1778e0db183acc425095a91d46e4253209cec06542d497d5502c502b946b0ed1517f3b34f532d1107ccac1a09f2f267f14089
 DIST pmix-5.0.3.tar.bz2 5148447 BLAKE2B 
3d885f1beb901a443d3a746eae2f4a7d28926e367c5054d3cbd7f971531390800899c0d3130c36b3880292f586bc2ff357c239c9ec6e26dbcd35a4535737f51c
 SHA512 
d7930426f29d957440ebfbe6a8321d3146373b8880d61c57e719345dd467dbe3bd1495cb4942ac0c450da0e28cdd56aed71b32c0bdd6571a8abab85bf334596b
 DIST pmix-5.0.4.tar.bz2 5445399 BLAKE2B 
95fd3fa528dfc9e0ab9aa0f081c2fa1d3e82fe31b4856bdbc1af136043839d872889305d653e2bae981a3b3e8f9e502bf4f021e4f39dc2a02d82cf3c170862a2
 SHA512 
3ed372b201ba47ebb202a615b7818bf263e586ba7f2d21d27377e15e886e79a6fb38cb6b46ec84433ad90c6ce810e135ef45f9ec7a9cf93eded87205e65a97d5
+DIST pmix-5.0.9.tar.bz2 10190355 BLAKE2B 
cf06ad8f9bc47ff9bbe7e796935cd1deb1a167dd927c4789bd31f235e932b47188f9f1f0f0bc929c8e6adb976a93604d1a4d989f7efd7a6f3ca915c1b9f4f44e
 SHA512 
21a9d679f705e4e099c534b2a331a7cdf6d15ecc5d1860852691ef19a784e18e5b9baa352de533b3fe154248cdec07a372dfc81a11c8cd63cbc718c6a7f7ce18

diff --git a/sys-cluster/pmix/pmix-5.0.9.ebuild 
b/sys-cluster/pmix/pmix-5.0.9.ebuild
new file mode 100644
index 000000000000..abdfefa686cf
--- /dev/null
+++ b/sys-cluster/pmix/pmix-5.0.9.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic libtool
+
+DESCRIPTION="The Process Management Interface (PMI) Exascale"
+HOMEPAGE="https://openpmix.github.io/";
+SRC_URI="https://github.com/openpmix/openpmix/releases/download/v${PV}/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+# No support for 32-bit systems as of 4.2.8 
(https://github.com/open-mpi/ompi/issues/11248)
+KEYWORDS="~amd64 ~arm64 ~ppc64 -x86"
+IUSE="debug +munge pmi"
+
+RDEPEND="
+       dev-libs/libevent:=
+       sys-apps/hwloc:=
+       virtual/zlib:=
+       munge? ( sys-auth/munge )
+       pmi? ( !sys-cluster/slurm )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+       elibtoolize
+}
+
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://github.com/openpmix/openpmix/issues/3350
+       filter-lto
+
+       local myeconfargs=(
+               # These are alternatives. We must use the one in DEPEND, and 
also
+               # prevent automagic fallbacks.
+               --with-libevent
+               --without-libev
+
+               # tries to build both zlib and zlib-ng
+               --without-zlibng
+
+               $(use_enable debug)
+               $(use_with munge)
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+
+       find "${ED}" -name '*.la' -delete || die
+
+       # bug #884765
+       mv "${ED}"/usr/bin/pquery "${ED}"/usr/bin/pmix-pquery || die
+}

Reply via email to