From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 82F97158176 for ; Thu, 16 Oct 2025 10:03:51 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6E66234128A for ; Thu, 16 Oct 2025 10:03:51 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D731211056D; Thu, 16 Oct 2025 10:03:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CD960110561 for ; Thu, 16 Oct 2025 10:03:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 704C634102E for ; Thu, 16 Oct 2025 10:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1B073B03 for ; Thu, 16 Oct 2025 10:03:44 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1760608822.bf987565b914ba2a626efc2daabff2fbccdd79ad.apn-pucky@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/modules/ X-VCS-Repository: proj/sci X-VCS-Files: sys-cluster/modules/metadata.xml sys-cluster/modules/modules-5.6.0.ebuild X-VCS-Directories: sys-cluster/modules/ X-VCS-Committer: apn-pucky X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: bf987565b914ba2a626efc2daabff2fbccdd79ad X-VCS-Branch: master Date: Thu, 16 Oct 2025 10:03:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7de2fe7c-5969-43c6-8bc4-32880c769c03 X-Archives-Hash: 69b0f577f3800868ae2907e5c0564be2 commit: bf987565b914ba2a626efc2daabff2fbccdd79ad Author: Xavier Delaruelle gmail com> AuthorDate: Sun Oct 5 06:35:36 2025 +0000 Commit: Alexander Puck Neuwirth gentoo org> CommitDate: Thu Oct 16 10:00:22 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bf987565 sys-cluster/modules: add 5.6.0 Signed-off-by: Xavier Delaruelle gmail.com> Part-of: https://github.com/gentoo/sci/pull/1381 Signed-off-by: Alexander Puck Neuwirth gentoo.org> sys-cluster/modules/metadata.xml | 3 ++ sys-cluster/modules/modules-5.6.0.ebuild | 67 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/sys-cluster/modules/metadata.xml b/sys-cluster/modules/metadata.xml index 4cc774a27..94b3af0c3 100644 --- a/sys-cluster/modules/metadata.xml +++ b/sys-cluster/modules/metadata.xml @@ -25,5 +25,8 @@ Build Modules version 3 compat support + enable all new features + install shell initialization and completion files + install man files in global location diff --git a/sys-cluster/modules/modules-5.6.0.ebuild b/sys-cluster/modules/modules-5.6.0.ebuild new file mode 100644 index 000000000..c81cfb192 --- /dev/null +++ b/sys-cluster/modules/modules-5.6.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Dynamic modification of a user's environment via modulefiles" +HOMEPAGE=" + https://github.com/envmodules/modules/ + https://envmodules.github.io/modules/ +" +SRC_URI="https://github.com/envmodules/modules/releases/download/v${PV}/${P}.tar.bz2 -> ${P}.gh.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="new-features +shell-setup +man-install test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/tcl + sys-apps/util-linux + sys-apps/less + shell-setup? ( !sys-cluster/lmod ) + man-install? ( !sys-cluster/lmod ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/tcl + test? ( dev-util/dejagnu ) +" + +src_configure() { + local myconf=( + --with-bin-search-path="${EPREFIX}/usr/bin:${EPREFIX}/bin" + --with-tcl="${EPREFIX}/usr/$(get_libdir)" + --prefix="${EPREFIX}/usr/share/Modules" + --nagelfardatadir="${EPREFIX}/usr/share/Modules/nagelfar" + --disable-emacs-addons + --enable-quarantine-support + --with-modulepath="${EPREFIX}/usr/share/Modules/modulefiles:${EPREFIX}/etc/modulefiles" + --with-quarantine-vars='LD_LIBRARY_PATH LD_PRELOAD' + $(usex man-install "" --mandir="${EPREFIX}/usr/share/Modules/share/man") + $(use_enable new-features) + ) + econf "${myconf[@]}" +} + +src_test() { + script/mt quick || die +} + +src_install() { + default + keepdir /etc/modulefiles + if use shell-setup ; then + dosym -r /usr/share/Modules/init/profile.sh /etc/bash/bashrc.d/modules.sh + dosym -r /usr/share/Modules/init/profile.sh /etc/profile.d/modules.sh + dosym -r /usr/share/Modules/init/profile.csh /etc/profile.d/modules.csh + dosym -r /usr/share/Modules/init/fish /etc/fish/conf.d/modules.fish + newbashcomp init/bash_completion module + bashcomp_alias module ml + newzshcomp init/zsh-functions/_module _module + newfishcomp init/fish_completion module.fish + fi +}