commit:     2a5b09727bc1614340c85cd692cfd87d6069a284
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  8 10:47:18 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Dec  8 11:00:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5b0972

sys-cluster/pmix: add 5.0.4

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sys-cluster/pmix/Manifest          |  1 +
 sys-cluster/pmix/pmix-5.0.4.ebuild | 58 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sys-cluster/pmix/Manifest b/sys-cluster/pmix/Manifest
index 144c7db9c5ae..61faef771df8 100644
--- a/sys-cluster/pmix/Manifest
+++ b/sys-cluster/pmix/Manifest
@@ -1,3 +1,4 @@
 DIST pmix-4.2.2.tar.bz2 1639600 BLAKE2B 
b5109900e52750656200e7bdbdc39d870a01f5afc1fb622663dfb2c9647b1735c23ece906064b34923977c522fb5a89afc03d81b7d115b26337934ab5bfe7ce3
 SHA512 
b7cb1e2079d517b32fc5d99012a7c4b161c1509b3ac1e0ba7e4697f2fe0917455927d06c86ecab5f2fa6073e1f058e86260d2115b6f8cc968a43a5675439f28d
 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

diff --git a/sys-cluster/pmix/pmix-5.0.4.ebuild 
b/sys-cluster/pmix/pmix-5.0.4.ebuild
new file mode 100644
index 000000000000..b37a67a20d75
--- /dev/null
+++ b/sys-cluster/pmix/pmix-5.0.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 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 ~amd64-linux"
+IUSE="debug +munge pmi"
+
+RDEPEND="
+       dev-libs/libevent:=
+       sys-apps/hwloc:=
+       sys-cluster/ucx
+       sys-libs/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
+
+               $(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