[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/files/, sys-cluster/lmod/
commit: ecd12f1d4e2e1386bede67c475e89b00537e5b8c Author: Aisha Tammy aisha cc> AuthorDate: Sun Feb 14 11:54:39 2021 + Commit: Aisha Tammy aisha cc> CommitDate: Sun Feb 14 11:55:01 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ecd12f1d sys-cluster/lmod: lmod is now in ::gentoo Signed-off-by: Aisha Tammy aisha.cc> .../lmod/files/lmod-8.4.19-no-libsandbox.patch | 13 - sys-cluster/lmod/files/module.1-8.4.20 | 388 - sys-cluster/lmod/lmod-8.4.20.ebuild| 125 --- sys-cluster/lmod/lmod-.ebuild | 125 --- sys-cluster/lmod/metadata.xml | 31 -- 5 files changed, 682 deletions(-) diff --git a/sys-cluster/lmod/files/lmod-8.4.19-no-libsandbox.patch b/sys-cluster/lmod/files/lmod-8.4.19-no-libsandbox.patch deleted file mode 100644 index 02248bc45..0 --- a/sys-cluster/lmod/files/lmod-8.4.19-no-libsandbox.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index ca75e34c..e9cc49e0 100644 a/configure.ac -+++ b/configure.ac -@@ -616,7 +616,7 @@ AC_SUBST(SYS_LD_LIB_PATH) - SYS_LD_LIB_PATH=$LD_LIBRARY_PATH - - AC_SUBST(SYS_LD_PRELOAD) --SYS_LD_PRELOAD=$LD_PRELOAD -+SYS_LD_PRELOAD=$(printf %s\\n $LD_PRELOAD | sed -e "s/libsandbox.so//g") - - AC_SUBST(PATH_TO_SRC) - SRCDIR=$( cd $srcdir; pwd) diff --git a/sys-cluster/lmod/files/module.1-8.4.20 b/sys-cluster/lmod/files/module.1-8.4.20 deleted file mode 100644 index cbd852dd1..0 --- a/sys-cluster/lmod/files/module.1-8.4.20 +++ /dev/null @@ -1,388 +0,0 @@ -.Dd $Mdocdate: December 6 2020 $ -.Dt MODULE 1 -.Os -.Sh NAME -.Nm module -.Nd lmod environment modules manager -.Sh SYNOPSIS -.Nm module -.Op options -.Cm sub-command -.Op args ... -.Sh DESCRIPTION -.Nm -from -.Sy Lmod -is a -.Xr lua 1 -based program to manage the user environment under -Unix systems, specifically designed to easily handle -the -.Ev MODULEPATH -Hierarchical problem. -Environment Modules provide a convenient way to -dynamically change the users' environment through modulefiles. -This includes easily adding or removing directories to the -.Ev PATH , LD_LIBRARY_PATH -and other environment variables. -.Sh OPTIONS -The following -.Ar options -are available: -.Pp -.Bl -tag -width Ds -compact -.It Fl h , \&? , H , -help -Show the help message. -.Pp -.It Fl -check_syntax , -checkSyntax -Only check the -.Nm -command syntax, do not load any modules. -.Pp -.It Fl -config -Report -.Sy Lmod -configuration. -.Pp -.It Fl -config_json -Report -.Sy Lmod -configuration in json format. -.Pp -.It Fl D -Write program tracing data to stderr. -.Pp -.It Fl d , -default -List default modules only when used with -.Cm avail . -.Pp -.It Fl -debug Ar dbglvl -.Sy VALUES : -1, 2, 3. -.Pp -Only write trace output with proper debug levels. -.Pp -.It Fl -dumpversion -Dump version in a machine readable way and quit. -.Pp -.It Fl -expert -Work in expert mode. -.Pp -.It Fl -force -Force removal of a sticky module or save an empty collection. -.Pp -.It Fl -gitversion -Dump git version in a machine readable way and quit. -.Pp -.It Fl -ignore_cache -Treat the cache file(s) as out-of-date. -.Pp -.It Fl -initial_load -Loading Lmod for first time in a user shell. -.Pp -.It Fl -latest -Load latest (ignore default). -.Pp -.It Fl -mt -Report Module Table State. -.Pp -.It Fl -no_redirect -Force output of -.Cm list , -.Cm avail -and -.Cm spider -to stderr. -.Pp -.It Fl -novice -Turn off -.Fl -expert -and -.Fl -quiet -flags. -.Pp -.It Fl -nx , -no_extensions -.Pp -.It Fl -pin_versions Ar pinVersions -When doing a restore use the specified version, do not follow defaults. -.Pp -.It Fl q , -quiet -Do not print out warnings. -.Pp -.It Fl r , -regexp -Use regular expression match. -.Pp -.It Fl -raw -Print modulefile in raw output when used with show. -.Pp -.It Fl -redirect -Send the output of -.Cm list , -.Cm avail -and -.Cm spider -to stdout (not stderr). -.Pp -.It Fl -regression_testing -Lmod regression testing. -.Pp -.It Fl -show_hidden -.Cm avail -and -.Cm spider -will report hidden modules. -.Pp -.It Fl -spider_timeout Ar timeout -A timeout for -.Cm spider . -.Pp -.It Fl s , -style Ar availStyle -.Sy DEFAULT : -system -Site controlled avail style. -.Pp -.It Fl T , -trace -.Pp -.It Fl t , -terse -Write out in machine readable format for -.Cm list , -.Cm avail , -.Cm spider -and -.Cm savelist . -.Pp -.It Fl -timer -Report run times. -.Pp -.It Fl v , -version -Print version info and quit. -.Pp -.It Fl -w , -width Ar twidth -Use -.Ar twidth -as max term width. -.El -.Sh SUB-COMMANDS -.Ss HELP -.Bl -tag -width Ds -compact -.It Cm help -Print the help message. -.Pp -.It Cm help Ar module Op moduleX moduleY ... -Print help messages from the given module(s). -.El -.Ss LOAD -.Bl -tag -width Ds -compact -.It Cm load , add Ar module Op moduleX moduleY ... -Load module(s) -.Pp -.It Cm try-load , try-add Ar module Op moduleX module Y ... -Load module(s), do not
[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/
commit: 6c7faca841e8829ba77b87134e7fac26ef526de9 Author: Aisha Tammy aisha cc> AuthorDate: Sun Jan 24 17:05:59 2021 + Commit: Aisha Tammy aisha cc> CommitDate: Mon Jan 25 12:23:01 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c7faca8 sys-cluster/lmod: add long description Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/lmod/lmod-8.4.20.ebuild | 2 +- sys-cluster/lmod/lmod-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/lmod/lmod-8.4.20.ebuild b/sys-cluster/lmod/lmod-8.4.20.ebuild index 4d56aa544..1e4660090 100644 --- a/sys-cluster/lmod/lmod-8.4.20.ebuild +++ b/sys-cluster/lmod/lmod-8.4.20.ebuild @@ -66,7 +66,7 @@ pkg_pretend() { src_prepare() { default rm -rf pkgs/{luafilesystem,term} || die - rm -rf rt/{colorize,end2end,help,ifur,settarg} || die + rm -rf rt/{ck_mtree_syntax,colorize,end2end,help,ifur,settarg} || die eautoreconf } diff --git a/sys-cluster/lmod/lmod-.ebuild b/sys-cluster/lmod/lmod-.ebuild index 4d56aa544..1e4660090 100644 --- a/sys-cluster/lmod/lmod-.ebuild +++ b/sys-cluster/lmod/lmod-.ebuild @@ -66,7 +66,7 @@ pkg_pretend() { src_prepare() { default rm -rf pkgs/{luafilesystem,term} || die - rm -rf rt/{colorize,end2end,help,ifur,settarg} || die + rm -rf rt/{ck_mtree_syntax,colorize,end2end,help,ifur,settarg} || die eautoreconf }
[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/files/, sys-cluster/lmod/
commit: 4fb98cda00fe85412ba5c01531fc86f79501479f Author: Aisha Tammy aisha cc> AuthorDate: Sun Jan 24 17:05:59 2021 + Commit: Aisha Tammy aisha cc> CommitDate: Sun Jan 24 17:05:59 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=4fb98cda sys-cluster/lmod: add long description Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/lmod/files/module.1-8.4.20 | 2 +- sys-cluster/lmod/metadata.xml | 8 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sys-cluster/lmod/files/module.1-8.4.20 b/sys-cluster/lmod/files/module.1-8.4.20 index 4eb784a06..cbd852dd1 100644 --- a/sys-cluster/lmod/files/module.1-8.4.20 +++ b/sys-cluster/lmod/files/module.1-8.4.20 @@ -31,7 +31,7 @@ The following are available: .Pp .Bl -tag -width Ds -compact -.It Fl h , ? , H , -help +.It Fl h , \&? , H , -help Show the help message. .Pp .It Fl -check_syntax , -checkSyntax diff --git a/sys-cluster/lmod/metadata.xml b/sys-cluster/lmod/metadata.xml index 6297993f4..80a3693f7 100644 --- a/sys-cluster/lmod/metadata.xml +++ b/sys-cluster/lmod/metadata.xml @@ -9,6 +9,14 @@ s...@gentoo.org Gentoo Science Project + + Lmod is a lua based program to manage the user environment + under Unix systems, specifically designed to easily handle the MODULEPATH + Hierarchical problem. Environment Modules provide a convenient way to + dynamically change the users' environment through modulefiles. This + includes easily adding or removing directories to the PATH, + LD_LIBRARY_PATH and other environment variables. + enable auto swapping of compiler enable caching of modules
[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/
commit: 79f0b98ec0c38702a64f732ba5aa3b32f3f9d858 Author: Aisha Tammy aisha cc> AuthorDate: Sun Jan 24 15:12:13 2021 + Commit: Aisha Tammy aisha cc> CommitDate: Sun Jan 24 16:04:22 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=79f0b98e sys-cluster/lmod: drop old version Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/lmod/lmod-8.4.19.ebuild | 126 1 file changed, 126 deletions(-) diff --git a/sys-cluster/lmod/lmod-8.4.19.ebuild b/sys-cluster/lmod/lmod-8.4.19.ebuild deleted file mode 100644 index cc30e4b48..0 --- a/sys-cluster/lmod/lmod-8.4.19.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..3} ) -inherit autotools lua-single - -DESCRIPTION="Environment Module System based on Lua" -HOMEPAGE="https://lmod.readthedocs.io/en/latest; - -if [[ ${PV} == ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/TACC/Lmod; -else - SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/Lmod-${PV} - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND="${LUA_DEPS} - app-shells/tcsh - || ( - app-shells/loksh - app-shells/mksh - app-shells/ksh - ) - app-shells/zsh - dev-lang/tcl - dev-lang/tk - $(lua_gen_cond_dep ' - >=dev-lua/luafilesystem-1.8.0[${LUA_USEDEP}] - dev-lua/luajson[${LUA_USEDEP}] - dev-lua/luaposix[${LUA_USEDEP}] - dev-lua/lua-term[${LUA_USEDEP}] - ') - virtual/pkgconfig -" -DEPEND="${RDEPEND}" -BDEPEND="${RDEPEND} - test? ( - $(lua_gen_cond_dep ' - dev-util/hermes[${LUA_SINGLE_USEDEP}] - ') - ) -" - -PATCHES=( "${FILESDIR}"/${PN}-8.4.19-no-libsandbox.patch ) - -pkg_pretend() { - elog "You can control the siteName and syshost settings by" - elog "using the variables LMOD_SITENAME and LMOD_SYSHOST, during" - elog "build time, which are both set to 'Gentoo' by default." - elog "There are a lot of options for this package, especially" - elog "for run time behaviour. Remember to use the EXTRA_ECONF variable." - elog "To see full list of options visit:" - elog "\t https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; -} - -src_prepare() { - default - rm -rf pkgs/{luafilesystem,term} || die - rm -rf rt/{colorize,end2end,help,ifur,settarg} || die - eautoreconf -} - -src_configure() { - local LMOD_SITENAME="${LMOD_SITENAME:-Gentoo}" - local LMOD_SYSHOST="${LMOD_SYSHOST:-Gentoo}" - - local LUAC="${LUA%/*}/luac${LUA#*lua}" - - local myconf=( - --with-tcl - --with-fastTCLInterp - --with-colorize - --with-supportKsh - --without-useBuiltinPkgs - --with-siteControlPrefix - --with-siteName="${LMOD_SITENAME}" - --with-syshost="${LMOD_SYSHOST}" - --with-lua_include="$(lua_get_include_dir)" - --with-lua="${LUA}" - --with-luac="${LUAC}" - --with-module-root-path="${EPREFIX}/etc/modulefiles" - --with-updateSystemFn="${EPREFIX}/etc/modulefiles/.lmod_system_update" - --prefix="${EPREFIX}/usr/share/Lmod" - $(use_with duplicate duplicatePaths) - $(use_with nocase caseIndependentSorting) - $(use_with italic hiddenItalic) - $(use_with auto-swap autoSwap) - $(use_with module-cmd exportedModuleCmd) - $(use_with redirect) - $(use_with dotfiles useDotFiles) - $(use_with cache cachedLoads) - $(use_with extend extendedDefault) - ) - econf "${myconf[@]}" -} - -src_compile() { - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - default -} - -src_test() { - local -x PATH="/opt/hermes/bin:${PATH}" - tm -vvv || die - testcleanup || die -} - -src_install() { - default - - insinto /etc/profile.d - newins "${ED}"/usr/share/Lmod/init/profile lmod.sh - newins "${ED}"/usr/share/Lmod/init/profile.fish lmod.fish - - keepdir /etc/modulefiles -}
[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/files/, sys-cluster/lmod/
commit: a947a68e0bbbabb1a0e42edd35dec13281c6e727 Author: Aisha Tammy aisha cc> AuthorDate: Sun Jan 24 16:03:25 2021 + Commit: Aisha Tammy aisha cc> CommitDate: Sun Jan 24 16:04:22 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=a947a68e sys-cluster/lmod: add proper formatted manpage Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/lmod/files/module.1-8.4.20 | 388 + sys-cluster/lmod/lmod-8.4.20.ebuild| 3 +- sys-cluster/lmod/lmod-.ebuild | 5 +- 3 files changed, 391 insertions(+), 5 deletions(-) diff --git a/sys-cluster/lmod/files/module.1-8.4.20 b/sys-cluster/lmod/files/module.1-8.4.20 new file mode 100644 index 0..4eb784a06 --- /dev/null +++ b/sys-cluster/lmod/files/module.1-8.4.20 @@ -0,0 +1,388 @@ +.Dd $Mdocdate: December 6 2020 $ +.Dt MODULE 1 +.Os +.Sh NAME +.Nm module +.Nd lmod environment modules manager +.Sh SYNOPSIS +.Nm module +.Op options +.Cm sub-command +.Op args ... +.Sh DESCRIPTION +.Nm +from +.Sy Lmod +is a +.Xr lua 1 +based program to manage the user environment under +Unix systems, specifically designed to easily handle +the +.Ev MODULEPATH +Hierarchical problem. +Environment Modules provide a convenient way to +dynamically change the users' environment through modulefiles. +This includes easily adding or removing directories to the +.Ev PATH , LD_LIBRARY_PATH +and other environment variables. +.Sh OPTIONS +The following +.Ar options +are available: +.Pp +.Bl -tag -width Ds -compact +.It Fl h , ? , H , -help +Show the help message. +.Pp +.It Fl -check_syntax , -checkSyntax +Only check the +.Nm +command syntax, do not load any modules. +.Pp +.It Fl -config +Report +.Sy Lmod +configuration. +.Pp +.It Fl -config_json +Report +.Sy Lmod +configuration in json format. +.Pp +.It Fl D +Write program tracing data to stderr. +.Pp +.It Fl d , -default +List default modules only when used with +.Cm avail . +.Pp +.It Fl -debug Ar dbglvl +.Sy VALUES : +1, 2, 3. +.Pp +Only write trace output with proper debug levels. +.Pp +.It Fl -dumpversion +Dump version in a machine readable way and quit. +.Pp +.It Fl -expert +Work in expert mode. +.Pp +.It Fl -force +Force removal of a sticky module or save an empty collection. +.Pp +.It Fl -gitversion +Dump git version in a machine readable way and quit. +.Pp +.It Fl -ignore_cache +Treat the cache file(s) as out-of-date. +.Pp +.It Fl -initial_load +Loading Lmod for first time in a user shell. +.Pp +.It Fl -latest +Load latest (ignore default). +.Pp +.It Fl -mt +Report Module Table State. +.Pp +.It Fl -no_redirect +Force output of +.Cm list , +.Cm avail +and +.Cm spider +to stderr. +.Pp +.It Fl -novice +Turn off +.Fl -expert +and +.Fl -quiet +flags. +.Pp +.It Fl -nx , -no_extensions +.Pp +.It Fl -pin_versions Ar pinVersions +When doing a restore use the specified version, do not follow defaults. +.Pp +.It Fl q , -quiet +Do not print out warnings. +.Pp +.It Fl r , -regexp +Use regular expression match. +.Pp +.It Fl -raw +Print modulefile in raw output when used with show. +.Pp +.It Fl -redirect +Send the output of +.Cm list , +.Cm avail +and +.Cm spider +to stdout (not stderr). +.Pp +.It Fl -regression_testing +Lmod regression testing. +.Pp +.It Fl -show_hidden +.Cm avail +and +.Cm spider +will report hidden modules. +.Pp +.It Fl -spider_timeout Ar timeout +A timeout for +.Cm spider . +.Pp +.It Fl s , -style Ar availStyle +.Sy DEFAULT : +system +Site controlled avail style. +.Pp +.It Fl T , -trace +.Pp +.It Fl t , -terse +Write out in machine readable format for +.Cm list , +.Cm avail , +.Cm spider +and +.Cm savelist . +.Pp +.It Fl -timer +Report run times. +.Pp +.It Fl v , -version +Print version info and quit. +.Pp +.It Fl -w , -width Ar twidth +Use +.Ar twidth +as max term width. +.El +.Sh SUB-COMMANDS +.Ss HELP +.Bl -tag -width Ds -compact +.It Cm help +Print the help message. +.Pp +.It Cm help Ar module Op moduleX moduleY ... +Print help messages from the given module(s). +.El +.Ss LOAD +.Bl -tag -width Ds -compact +.It Cm load , add Ar module Op moduleX moduleY ... +Load module(s) +.Pp +.It Cm try-load , try-add Ar module Op moduleX module Y ... +Load module(s), do not complain if not found +.Pp +.It Cm del , unload Ar module Op moduleX moduleY ... +Unload module(s), does not complain if not found +.Pp +.It Cm swap , sw , switch Ar m1 m2 +.Cm unload +.Ar m1 +and +.Cm load +.Ar m2 +.Pp +.It Cm purge +.Cm unload +all modules +.Pp +.It Cm refresh +Reload aliases from current list of modules. +.Pp +.It Cm update +Reload all currently loaded modules. +.El +.Ss SEARCH +.Bl -tag -width Ds -compact +.It Cm list +List all loaded modules. +.Pp +.It Cm list Ar s1 Op Ar s2 ... +List all loaded modules that match any of the given patterns. +.Pp +.It Cm avail , av Op Ar string +List all available modules. +Restricts to modules containing +.Ar string +if it is provided. +.Pp +.It Cm spider +List all possible modules.
[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/
commit: 29174023f61c3476581fc0ffba61d3c095a60b66 Author: Aisha Tammy aisha cc> AuthorDate: Wed Jan 13 18:29:14 2021 + Commit: Aisha Tammy aisha cc> CommitDate: Wed Jan 13 18:29:14 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=29174023 sys-cluster/lmod: version bump to 8.4.20 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/lmod/lmod-8.4.20.ebuild | 126 1 file changed, 126 insertions(+) diff --git a/sys-cluster/lmod/lmod-8.4.20.ebuild b/sys-cluster/lmod/lmod-8.4.20.ebuild new file mode 100644 index 0..3d69b1e7d --- /dev/null +++ b/sys-cluster/lmod/lmod-8.4.20.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} ) +inherit autotools lua-single + +DESCRIPTION="Environment Module System based on Lua" +HOMEPAGE="https://lmod.readthedocs.io/en/latest; + +if [[ ${PV} == ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/TACC/Lmod; +else + SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/Lmod-${PV} + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS} + app-shells/tcsh + || ( + app-shells/loksh + app-shells/mksh + app-shells/ksh + ) + app-shells/zsh + dev-lang/tcl + dev-lang/tk + $(lua_gen_cond_dep ' + >=dev-lua/luafilesystem-1.8.0[${LUA_USEDEP}] + dev-lua/luajson[${LUA_USEDEP}] + dev-lua/luaposix[${LUA_USEDEP}] + dev-lua/lua-term[${LUA_USEDEP}] + ') + virtual/pkgconfig +" +DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND} + test? ( + $(lua_gen_cond_dep ' + dev-util/hermes[${LUA_SINGLE_USEDEP}] + ') + ) +" + +PATCHES=( "${FILESDIR}"/${PN}-8.4.19-no-libsandbox.patch ) + +pkg_pretend() { + elog "You can control the siteName and syshost settings by" + elog "using the variables LMOD_SITENAME and LMOD_SYSHOST, during" + elog "build time, which are both set to 'Gentoo' by default." + elog "There are a lot of options for this package, especially" + elog "for run time behaviour. Remember to use the EXTRA_ECONF variable." + elog "To see full list of options visit:" + elog "\t https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; +} + +src_prepare() { + default + rm -rf pkgs/{luafilesystem,term} || die + rm -rf rt/{colorize,end2end,help,ifur,settarg} || die + eautoreconf +} + +src_configure() { + local LMOD_SITENAME="${LMOD_SITENAME:-Gentoo}" + local LMOD_SYSHOST="${LMOD_SYSHOST:-Gentoo}" + + local LUAC="${LUA%/*}/luac${LUA#*lua}" + + local myconf=( + --with-tcl + --with-fastTCLInterp + --with-colorize + --with-supportKsh + --without-useBuiltinPkgs + --with-siteControlPrefix + --with-siteName="${LMOD_SITENAME}" + --with-syshost="${LMOD_SYSHOST}" + --with-lua_include="$(lua_get_include_dir)" + --with-lua="${LUA}" + --with-luac="${LUAC}" + --with-module-root-path="${EPREFIX}/etc/modulefiles" + --with-updateSystemFn="${EPREFIX}/etc/modulefiles/.lmod_system_update" + --prefix="${EPREFIX}/usr/share/Lmod" + $(use_with duplicate duplicatePaths) + $(use_with nocase caseIndependentSorting) + $(use_with italic hiddenItalic) + $(use_with auto-swap autoSwap) + $(use_with module-cmd exportedModuleCmd) + $(use_with redirect) + $(use_with dotfiles useDotFiles) + $(use_with cache cachedLoads) + $(use_with extend extendedDefault) + ) + econf "${myconf[@]}" +} + +src_compile() { + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + default +} + +src_test() { + local -x PATH="/opt/hermes/bin:${PATH}" + tm -vvv || die + testcleanup || die +} + +src_install() { + default + + insinto /etc/profile.d + newins "${ED}"/usr/share/Lmod/init/profile lmod.sh + newins "${ED}"/usr/share/Lmod/init/profile.fish lmod.fish + + keepdir /etc/modulefiles +}
[gentoo-commits] proj/sci:master commit in: sys-cluster/lmod/, sys-cluster/Lmod/files/, profiles/updates/, sys-cluster/Lmod/, ...
commit: 4aede7ec9a402c32df7aff7f98f20fd2e671e2c2 Author: Aisha Tammy aisha cc> AuthorDate: Tue Dec 29 15:36:34 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Tue Dec 29 15:37:14 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=4aede7ec sys-cluster/lmod: version bump to 8.4.19 major change: also update to slotted lua Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> profiles/updates/4Q-2020 | 1 + sys-cluster/Lmod/Lmod-8.4.11.ebuild| 112 -- sys-cluster/Lmod/Lmod-8.4.16.ebuild| 110 -- sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch | 26 - .../lmod/files/lmod-8.4.19-no-libsandbox.patch | 13 +++ sys-cluster/lmod/lmod-8.4.19.ebuild| 126 + sys-cluster/lmod/lmod-.ebuild | 126 + sys-cluster/{Lmod => lmod}/metadata.xml| 0 8 files changed, 266 insertions(+), 248 deletions(-) diff --git a/profiles/updates/4Q-2020 b/profiles/updates/4Q-2020 index fe4449bff..533fbbee0 100644 --- a/profiles/updates/4Q-2020 +++ b/profiles/updates/4Q-2020 @@ -1 +1,2 @@ move sci-libs/amdlibm sci-libs/aocl-libm +move sys-cluster/Lmod sys-cluster/lmod diff --git a/sys-cluster/Lmod/Lmod-8.4.11.ebuild b/sys-cluster/Lmod/Lmod-8.4.11.ebuild deleted file mode 100644 index afe34b143..0 --- a/sys-cluster/Lmod/Lmod-8.4.11.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Environment Module System based on Lua" -HOMEPAGE="https://lmod.readthedocs.io/en/latest; -SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64" - -LICENSE="MIT" -SLOT="0" -IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" -RESTRICT="!test? ( test )" - -RDEPEND+=" - app-shells/tcsh - || ( - app-shells/loksh - app-shells/mksh - app-shells/ksh - ) - app-shells/zsh - dev-lang/tcl - dev-lua/luafilesystem - dev-lua/luajson - dev-lua/luaposix - dev-lua/lua-term -" -DEPEND+="${RDEPEND}" -BDEPEND+=" - test? ( - dev-util/Hermes - ) -" - -PATCHES=( "${FILESDIR}"/${PN}-8.4.11-ldflags.patch ) - -pkg_setup() { - elog "There is a lot of options for this package," - elog "especially for run time behaviour." - elog "You can set them using EXTRA_ECONF variable." - elog "To see full list of options visit:" - elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; -} - -src_prepare() { - default - - rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die -} - -src_configure() { - # set environment variables to pass to Lmod configuration - local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" - local -x SHORT_TIME="${SHORT_TIME:-2}" - local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" - local -x SITE_NAME="${SITE_NAME:-Gentoo}" - local -x SYSHOST="${SYSHOST:-Gentoo}" - - local myconf=( - --with-tcl - --with-fastTCLInterp - --with-colorize - --prefix=/opt - --with-ancient="${CACHE_LIFETIME}" - --with-supportKsh - --with-updateSystemFn="${SYSTEM_TOUCH}" - --with-siteName="${SITE_NAME}" - --with-syshost="${SYSHOST}" - --with-shortTime="${SHORT_TIME}" - --without-useBuiltinPkgs - $(use_with duplicate duplicatePaths) - $(use_with nocase caseIndependentSorting) - $(use_with italic hiddenItalic) - $(use_with auto-swap autoSwap) - $(use_with module-cmd exportedModuleCmd) - $(use_with redirect) - $(use_with dotfiles useDotFiles) - $(use_with cache cachedLoads) - $(use_with extend extendedDefault) - ) - - econf ${myconf[@]} ${EXTRA_ECONF[@]} -} - -src_compile() { - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - default -} - -src_test() { - local -x PATH="/opt/hermes/bin:${PATH}" - tm -vvv || die -} - -src_install() { - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" - default - - keepdir /var/lmod -} - -pkg_postinst() { - elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" - elog "To activate Lmod, you need to source the profile" - elog "script provided" - elog " $ . /opt/lmod/lmod/init/profile" - elog "This will provide you with the 'module' command" - elog " $ man module" -} diff --git a/sys-cluster/Lmod/Lmod-8.4.16.ebuild b/sys-cluster/Lmod/Lmod-8.4.16.ebuild deleted file mode 100644 index
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: 86d5953495a3abae4e1cfc7fadc2b575d589dc32 Author: Aisha Tammy aisha cc> AuthorDate: Sat Dec 5 22:46:55 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Sat Dec 5 22:46:55 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=86d59534 sys-cluster/Lmod: version bump to 8.4.16 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.16.ebuild | 110 1 file changed, 110 insertions(+) diff --git a/sys-cluster/Lmod/Lmod-8.4.16.ebuild b/sys-cluster/Lmod/Lmod-8.4.16.ebuild new file mode 100644 index 0..fafdc2cd7 --- /dev/null +++ b/sys-cluster/Lmod/Lmod-8.4.16.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Environment Module System based on Lua" +HOMEPAGE="https://lmod.readthedocs.io/en/latest; +SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="MIT" +SLOT="0" +IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" +RESTRICT="!test? ( test )" + +RDEPEND+=" + app-shells/tcsh + || ( + app-shells/loksh + app-shells/mksh + app-shells/ksh + ) + app-shells/zsh + dev-lang/tcl + dev-lua/luafilesystem + dev-lua/luajson + dev-lua/luaposix + dev-lua/lua-term +" +DEPEND+="${RDEPEND}" +BDEPEND+=" + test? ( + dev-util/Hermes + ) +" + +pkg_setup() { + elog "There is a lot of options for this package," + elog "especially for run time behaviour." + elog "You can set them using EXTRA_ECONF variable." + elog "To see full list of options visit:" + elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; +} + +src_prepare() { + default + + rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die +} + +src_configure() { + # set environment variables to pass to Lmod configuration + local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" + local -x SHORT_TIME="${SHORT_TIME:-2}" + local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" + local -x SITE_NAME="${SITE_NAME:-Gentoo}" + local -x SYSHOST="${SYSHOST:-Gentoo}" + + local myconf=( + --with-tcl + --with-fastTCLInterp + --with-colorize + --prefix=/opt + --with-ancient="${CACHE_LIFETIME}" + --with-supportKsh + --with-updateSystemFn="${SYSTEM_TOUCH}" + --with-siteName="${SITE_NAME}" + --with-syshost="${SYSHOST}" + --with-shortTime="${SHORT_TIME}" + --without-useBuiltinPkgs + $(use_with duplicate duplicatePaths) + $(use_with nocase caseIndependentSorting) + $(use_with italic hiddenItalic) + $(use_with auto-swap autoSwap) + $(use_with module-cmd exportedModuleCmd) + $(use_with redirect) + $(use_with dotfiles useDotFiles) + $(use_with cache cachedLoads) + $(use_with extend extendedDefault) + ) + + econf ${myconf[@]} ${EXTRA_ECONF[@]} +} + +src_compile() { + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + default +} + +src_test() { + local -x PATH="/opt/hermes/bin:${PATH}" + tm -vvv || die +} + +src_install() { + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + default + + keepdir /var/lmod +} + +pkg_postinst() { + elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" + elog "To activate Lmod, you need to source the profile" + elog "script provided" + elog " $ . /opt/lmod/lmod/init/profile" + elog "This will provide you with the 'module' command" + elog " $ man module" +}
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: 117db60b7828367aa13a04dea8666d990d18 Author: Aisha Tammy aisha cc> AuthorDate: Fri Oct 30 23:08:04 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Fri Oct 30 23:08:04 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=117d sys-cluster/Lmod: drop old version 8.4.9 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.9.ebuild | 104 - 1 file changed, 104 deletions(-) diff --git a/sys-cluster/Lmod/Lmod-8.4.9.ebuild b/sys-cluster/Lmod/Lmod-8.4.9.ebuild deleted file mode 100644 index 925e1d5e9..0 --- a/sys-cluster/Lmod/Lmod-8.4.9.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Environment Module System based on Lua" -HOMEPAGE="https://lmod.readthedocs.io/en/latest; -SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64" - -LICENSE="MIT" -SLOT="0" -IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" -RESTRICT="!test? ( test )" - -RDEPEND+=" - app-shells/tcsh - || ( - app-shells/loksh - app-shells/mksh - app-shells/ksh - ) - app-shells/zsh - dev-lang/tcl - dev-lua/luafilesystem - dev-lua/luajson - dev-lua/luaposix - dev-lua/lua-term -" -DEPEND+="${RDEPEND}" -BDEPEND+=" - test? ( - dev-util/Hermes - ) -" - -pkg_setup() { - elog "There is a lot of options for this package," - elog "especially for run time behaviour." - elog "You can set them using EXTRA_ECONF variable." - elog "To see full list of options visit:" - elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; -} - -src_prepare() { - default - - rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die -} - -src_configure() { - # set environment variables to pass to Lmod configuration - local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" - local -x SHORT_TIME="${SHORT_TIME:-2}" - local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" - local -x SITE_NAME="${SITE_NAME:-Gentoo}" - local -x SYSHOST="${SYSHOST:-Gentoo}" - - local myconf=( - --with-tcl - --with-fastTCLInterp - --with-colorize - --prefix=/opt - --with-ancient="${CACHE_LIFETIME}" - --with-supportKsh - --with-updateSystemFn="${SYSTEM_TOUCH}" - --with-siteName="${SITE_NAME}" - --with-syshost="${SYSHOST}" - --with-shortTime="${SHORT_TIME}" - --without-useBuiltinPkgs - $(use_with duplicate duplicatePaths) - $(use_with nocase caseIndependentSorting) - $(use_with italic hiddenItalic) - $(use_with auto-swap autoSwap) - $(use_with module-cmd exportedModuleCmd) - $(use_with redirect) - $(use_with dotfiles useDotFiles) - $(use_with cache cachedLoads) - $(use_with extend extendedDefault) - ) - - econf ${myconf[@]} ${EXTRA_ECONF[@]} -} - -src_test() { - local -x PATH="/opt/hermes/bin:${PATH}" - tm -vvv || die -} - -src_install() { - default - - keepdir /var/lmod -} - -pkg_postinst() { - elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" - elog "To activate Lmod, you need to source the profile" - elog "script provided" - elog " $ . /opt/lmod/lmod/init/profile" - elog "This will provide you with the 'module' command" - elog " $ man module" -}
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/files/, sys-cluster/Lmod/
commit: b5082d98c8c3f43edba891c9a74a6c08e4e95c98 Author: Aisha Tammy aisha cc> AuthorDate: Fri Oct 30 23:07:27 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Fri Oct 30 23:07:52 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b5082d98 sys-cluster/Lmod: drop old version 8.4.5 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.11.ebuild | 8 ++ sys-cluster/Lmod/Lmod-8.4.5.ebuild | 104 --- sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch | 26 ++ 3 files changed, 34 insertions(+), 104 deletions(-) diff --git a/sys-cluster/Lmod/Lmod-8.4.11.ebuild b/sys-cluster/Lmod/Lmod-8.4.11.ebuild index 925e1d5e9..afe34b143 100644 --- a/sys-cluster/Lmod/Lmod-8.4.11.ebuild +++ b/sys-cluster/Lmod/Lmod-8.4.11.ebuild @@ -35,6 +35,8 @@ BDEPEND+=" ) " +PATCHES=( "${FILESDIR}"/${PN}-8.4.11-ldflags.patch ) + pkg_setup() { elog "There is a lot of options for this package," elog "especially for run time behaviour." @@ -83,12 +85,18 @@ src_configure() { econf ${myconf[@]} ${EXTRA_ECONF[@]} } +src_compile() { + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + default +} + src_test() { local -x PATH="/opt/hermes/bin:${PATH}" tm -vvv || die } src_install() { + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" default keepdir /var/lmod diff --git a/sys-cluster/Lmod/Lmod-8.4.5.ebuild b/sys-cluster/Lmod/Lmod-8.4.5.ebuild deleted file mode 100644 index 925e1d5e9..0 --- a/sys-cluster/Lmod/Lmod-8.4.5.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Environment Module System based on Lua" -HOMEPAGE="https://lmod.readthedocs.io/en/latest; -SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64" - -LICENSE="MIT" -SLOT="0" -IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" -RESTRICT="!test? ( test )" - -RDEPEND+=" - app-shells/tcsh - || ( - app-shells/loksh - app-shells/mksh - app-shells/ksh - ) - app-shells/zsh - dev-lang/tcl - dev-lua/luafilesystem - dev-lua/luajson - dev-lua/luaposix - dev-lua/lua-term -" -DEPEND+="${RDEPEND}" -BDEPEND+=" - test? ( - dev-util/Hermes - ) -" - -pkg_setup() { - elog "There is a lot of options for this package," - elog "especially for run time behaviour." - elog "You can set them using EXTRA_ECONF variable." - elog "To see full list of options visit:" - elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; -} - -src_prepare() { - default - - rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die -} - -src_configure() { - # set environment variables to pass to Lmod configuration - local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" - local -x SHORT_TIME="${SHORT_TIME:-2}" - local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" - local -x SITE_NAME="${SITE_NAME:-Gentoo}" - local -x SYSHOST="${SYSHOST:-Gentoo}" - - local myconf=( - --with-tcl - --with-fastTCLInterp - --with-colorize - --prefix=/opt - --with-ancient="${CACHE_LIFETIME}" - --with-supportKsh - --with-updateSystemFn="${SYSTEM_TOUCH}" - --with-siteName="${SITE_NAME}" - --with-syshost="${SYSHOST}" - --with-shortTime="${SHORT_TIME}" - --without-useBuiltinPkgs - $(use_with duplicate duplicatePaths) - $(use_with nocase caseIndependentSorting) - $(use_with italic hiddenItalic) - $(use_with auto-swap autoSwap) - $(use_with module-cmd exportedModuleCmd) - $(use_with redirect) - $(use_with dotfiles useDotFiles) - $(use_with cache cachedLoads) - $(use_with extend extendedDefault) - ) - - econf ${myconf[@]} ${EXTRA_ECONF[@]} -} - -src_test() { - local -x PATH="/opt/hermes/bin:${PATH}" - tm -vvv || die -} - -src_install() { - default - - keepdir /var/lmod -} - -pkg_postinst() { - elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" - elog "To activate Lmod, you need to source the profile" - elog "script provided" - elog " $ . /opt/lmod/lmod/init/profile" - elog "This will provide you with the 'module' command" - elog " $ man module" -} diff --git a/sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch b/sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch new file mode 100644 index 0..afd652142 --- /dev/null +++ b/sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: 9feeef565e60670278e8281b4615105302a61766 Author: Aisha Tammy aisha cc> AuthorDate: Fri Oct 30 23:08:40 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Fri Oct 30 23:08:40 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=9feeef56 sys-cluster/Lmod: drop old version 8.4.10 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.10.ebuild | 104 1 file changed, 104 deletions(-) diff --git a/sys-cluster/Lmod/Lmod-8.4.10.ebuild b/sys-cluster/Lmod/Lmod-8.4.10.ebuild deleted file mode 100644 index 925e1d5e9..0 --- a/sys-cluster/Lmod/Lmod-8.4.10.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Environment Module System based on Lua" -HOMEPAGE="https://lmod.readthedocs.io/en/latest; -SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64" - -LICENSE="MIT" -SLOT="0" -IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" -RESTRICT="!test? ( test )" - -RDEPEND+=" - app-shells/tcsh - || ( - app-shells/loksh - app-shells/mksh - app-shells/ksh - ) - app-shells/zsh - dev-lang/tcl - dev-lua/luafilesystem - dev-lua/luajson - dev-lua/luaposix - dev-lua/lua-term -" -DEPEND+="${RDEPEND}" -BDEPEND+=" - test? ( - dev-util/Hermes - ) -" - -pkg_setup() { - elog "There is a lot of options for this package," - elog "especially for run time behaviour." - elog "You can set them using EXTRA_ECONF variable." - elog "To see full list of options visit:" - elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; -} - -src_prepare() { - default - - rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die -} - -src_configure() { - # set environment variables to pass to Lmod configuration - local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" - local -x SHORT_TIME="${SHORT_TIME:-2}" - local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" - local -x SITE_NAME="${SITE_NAME:-Gentoo}" - local -x SYSHOST="${SYSHOST:-Gentoo}" - - local myconf=( - --with-tcl - --with-fastTCLInterp - --with-colorize - --prefix=/opt - --with-ancient="${CACHE_LIFETIME}" - --with-supportKsh - --with-updateSystemFn="${SYSTEM_TOUCH}" - --with-siteName="${SITE_NAME}" - --with-syshost="${SYSHOST}" - --with-shortTime="${SHORT_TIME}" - --without-useBuiltinPkgs - $(use_with duplicate duplicatePaths) - $(use_with nocase caseIndependentSorting) - $(use_with italic hiddenItalic) - $(use_with auto-swap autoSwap) - $(use_with module-cmd exportedModuleCmd) - $(use_with redirect) - $(use_with dotfiles useDotFiles) - $(use_with cache cachedLoads) - $(use_with extend extendedDefault) - ) - - econf ${myconf[@]} ${EXTRA_ECONF[@]} -} - -src_test() { - local -x PATH="/opt/hermes/bin:${PATH}" - tm -vvv || die -} - -src_install() { - default - - keepdir /var/lmod -} - -pkg_postinst() { - elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" - elog "To activate Lmod, you need to source the profile" - elog "script provided" - elog " $ . /opt/lmod/lmod/init/profile" - elog "This will provide you with the 'module' command" - elog " $ man module" -}
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: e1929e883619900266bdfac43218dd327fdafe1e Author: Aisha Tammy aisha cc> AuthorDate: Fri Oct 30 22:54:03 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Fri Oct 30 22:54:03 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e1929e88 sys-cluster/Lmod: version bump to 8.4.11 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.11.ebuild | 104 1 file changed, 104 insertions(+) diff --git a/sys-cluster/Lmod/Lmod-8.4.11.ebuild b/sys-cluster/Lmod/Lmod-8.4.11.ebuild new file mode 100644 index 0..925e1d5e9 --- /dev/null +++ b/sys-cluster/Lmod/Lmod-8.4.11.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Environment Module System based on Lua" +HOMEPAGE="https://lmod.readthedocs.io/en/latest; +SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="MIT" +SLOT="0" +IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" +RESTRICT="!test? ( test )" + +RDEPEND+=" + app-shells/tcsh + || ( + app-shells/loksh + app-shells/mksh + app-shells/ksh + ) + app-shells/zsh + dev-lang/tcl + dev-lua/luafilesystem + dev-lua/luajson + dev-lua/luaposix + dev-lua/lua-term +" +DEPEND+="${RDEPEND}" +BDEPEND+=" + test? ( + dev-util/Hermes + ) +" + +pkg_setup() { + elog "There is a lot of options for this package," + elog "especially for run time behaviour." + elog "You can set them using EXTRA_ECONF variable." + elog "To see full list of options visit:" + elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; +} + +src_prepare() { + default + + rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die +} + +src_configure() { + # set environment variables to pass to Lmod configuration + local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" + local -x SHORT_TIME="${SHORT_TIME:-2}" + local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" + local -x SITE_NAME="${SITE_NAME:-Gentoo}" + local -x SYSHOST="${SYSHOST:-Gentoo}" + + local myconf=( + --with-tcl + --with-fastTCLInterp + --with-colorize + --prefix=/opt + --with-ancient="${CACHE_LIFETIME}" + --with-supportKsh + --with-updateSystemFn="${SYSTEM_TOUCH}" + --with-siteName="${SITE_NAME}" + --with-syshost="${SYSHOST}" + --with-shortTime="${SHORT_TIME}" + --without-useBuiltinPkgs + $(use_with duplicate duplicatePaths) + $(use_with nocase caseIndependentSorting) + $(use_with italic hiddenItalic) + $(use_with auto-swap autoSwap) + $(use_with module-cmd exportedModuleCmd) + $(use_with redirect) + $(use_with dotfiles useDotFiles) + $(use_with cache cachedLoads) + $(use_with extend extendedDefault) + ) + + econf ${myconf[@]} ${EXTRA_ECONF[@]} +} + +src_test() { + local -x PATH="/opt/hermes/bin:${PATH}" + tm -vvv || die +} + +src_install() { + default + + keepdir /var/lmod +} + +pkg_postinst() { + elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" + elog "To activate Lmod, you need to source the profile" + elog "script provided" + elog " $ . /opt/lmod/lmod/init/profile" + elog "This will provide you with the 'module' command" + elog " $ man module" +}
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: 50c64c2c0e1a83bc3884511aaf98b0a965d7ea07 Author: Aisha Tammy aisha cc> AuthorDate: Wed Oct 21 14:55:25 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Wed Oct 21 14:55:34 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=50c64c2c sys-cluster/Lmod: version bump to 8.4.10 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.10.ebuild | 104 1 file changed, 104 insertions(+) diff --git a/sys-cluster/Lmod/Lmod-8.4.10.ebuild b/sys-cluster/Lmod/Lmod-8.4.10.ebuild new file mode 100644 index 0..925e1d5e9 --- /dev/null +++ b/sys-cluster/Lmod/Lmod-8.4.10.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Environment Module System based on Lua" +HOMEPAGE="https://lmod.readthedocs.io/en/latest; +SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="MIT" +SLOT="0" +IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" +RESTRICT="!test? ( test )" + +RDEPEND+=" + app-shells/tcsh + || ( + app-shells/loksh + app-shells/mksh + app-shells/ksh + ) + app-shells/zsh + dev-lang/tcl + dev-lua/luafilesystem + dev-lua/luajson + dev-lua/luaposix + dev-lua/lua-term +" +DEPEND+="${RDEPEND}" +BDEPEND+=" + test? ( + dev-util/Hermes + ) +" + +pkg_setup() { + elog "There is a lot of options for this package," + elog "especially for run time behaviour." + elog "You can set them using EXTRA_ECONF variable." + elog "To see full list of options visit:" + elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; +} + +src_prepare() { + default + + rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die +} + +src_configure() { + # set environment variables to pass to Lmod configuration + local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" + local -x SHORT_TIME="${SHORT_TIME:-2}" + local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" + local -x SITE_NAME="${SITE_NAME:-Gentoo}" + local -x SYSHOST="${SYSHOST:-Gentoo}" + + local myconf=( + --with-tcl + --with-fastTCLInterp + --with-colorize + --prefix=/opt + --with-ancient="${CACHE_LIFETIME}" + --with-supportKsh + --with-updateSystemFn="${SYSTEM_TOUCH}" + --with-siteName="${SITE_NAME}" + --with-syshost="${SYSHOST}" + --with-shortTime="${SHORT_TIME}" + --without-useBuiltinPkgs + $(use_with duplicate duplicatePaths) + $(use_with nocase caseIndependentSorting) + $(use_with italic hiddenItalic) + $(use_with auto-swap autoSwap) + $(use_with module-cmd exportedModuleCmd) + $(use_with redirect) + $(use_with dotfiles useDotFiles) + $(use_with cache cachedLoads) + $(use_with extend extendedDefault) + ) + + econf ${myconf[@]} ${EXTRA_ECONF[@]} +} + +src_test() { + local -x PATH="/opt/hermes/bin:${PATH}" + tm -vvv || die +} + +src_install() { + default + + keepdir /var/lmod +} + +pkg_postinst() { + elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" + elog "To activate Lmod, you need to source the profile" + elog "script provided" + elog " $ . /opt/lmod/lmod/init/profile" + elog "This will provide you with the 'module' command" + elog " $ man module" +}
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: bdec2426d77ac6850f4dc7567e1630d26f0c Author: Aisha Tammy aisha cc> AuthorDate: Fri Oct 9 01:14:15 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Fri Oct 9 01:14:15 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=bdec2426 sys-cluster/Lmod: version bump to 8.4.9 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.9.ebuild | 104 + 1 file changed, 104 insertions(+) diff --git a/sys-cluster/Lmod/Lmod-8.4.9.ebuild b/sys-cluster/Lmod/Lmod-8.4.9.ebuild new file mode 100644 index 0..925e1d5e9 --- /dev/null +++ b/sys-cluster/Lmod/Lmod-8.4.9.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Environment Module System based on Lua" +HOMEPAGE="https://lmod.readthedocs.io/en/latest; +SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="MIT" +SLOT="0" +IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" +RESTRICT="!test? ( test )" + +RDEPEND+=" + app-shells/tcsh + || ( + app-shells/loksh + app-shells/mksh + app-shells/ksh + ) + app-shells/zsh + dev-lang/tcl + dev-lua/luafilesystem + dev-lua/luajson + dev-lua/luaposix + dev-lua/lua-term +" +DEPEND+="${RDEPEND}" +BDEPEND+=" + test? ( + dev-util/Hermes + ) +" + +pkg_setup() { + elog "There is a lot of options for this package," + elog "especially for run time behaviour." + elog "You can set them using EXTRA_ECONF variable." + elog "To see full list of options visit:" + elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; +} + +src_prepare() { + default + + rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die +} + +src_configure() { + # set environment variables to pass to Lmod configuration + local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" + local -x SHORT_TIME="${SHORT_TIME:-2}" + local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" + local -x SITE_NAME="${SITE_NAME:-Gentoo}" + local -x SYSHOST="${SYSHOST:-Gentoo}" + + local myconf=( + --with-tcl + --with-fastTCLInterp + --with-colorize + --prefix=/opt + --with-ancient="${CACHE_LIFETIME}" + --with-supportKsh + --with-updateSystemFn="${SYSTEM_TOUCH}" + --with-siteName="${SITE_NAME}" + --with-syshost="${SYSHOST}" + --with-shortTime="${SHORT_TIME}" + --without-useBuiltinPkgs + $(use_with duplicate duplicatePaths) + $(use_with nocase caseIndependentSorting) + $(use_with italic hiddenItalic) + $(use_with auto-swap autoSwap) + $(use_with module-cmd exportedModuleCmd) + $(use_with redirect) + $(use_with dotfiles useDotFiles) + $(use_with cache cachedLoads) + $(use_with extend extendedDefault) + ) + + econf ${myconf[@]} ${EXTRA_ECONF[@]} +} + +src_test() { + local -x PATH="/opt/hermes/bin:${PATH}" + tm -vvv || die +} + +src_install() { + default + + keepdir /var/lmod +} + +pkg_postinst() { + elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" + elog "To activate Lmod, you need to source the profile" + elog "script provided" + elog " $ . /opt/lmod/lmod/init/profile" + elog "This will provide you with the 'module' command" + elog " $ man module" +}
[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
commit: c389cf1c4521de0c89009fd3da28801e6207131f Author: Aisha Tammy aisha cc> AuthorDate: Sat Sep 26 15:09:29 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Sat Sep 26 15:09:29 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c389cf1c sys-cluster/Lmod: environment module system Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/Lmod/Lmod-8.4.5.ebuild | 104 + sys-cluster/Lmod/metadata.xml | 23 2 files changed, 127 insertions(+) diff --git a/sys-cluster/Lmod/Lmod-8.4.5.ebuild b/sys-cluster/Lmod/Lmod-8.4.5.ebuild new file mode 100644 index 0..925e1d5e9 --- /dev/null +++ b/sys-cluster/Lmod/Lmod-8.4.5.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Environment Module System based on Lua" +HOMEPAGE="https://lmod.readthedocs.io/en/latest; +SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="MIT" +SLOT="0" +IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test" +RESTRICT="!test? ( test )" + +RDEPEND+=" + app-shells/tcsh + || ( + app-shells/loksh + app-shells/mksh + app-shells/ksh + ) + app-shells/zsh + dev-lang/tcl + dev-lua/luafilesystem + dev-lua/luajson + dev-lua/luaposix + dev-lua/lua-term +" +DEPEND+="${RDEPEND}" +BDEPEND+=" + test? ( + dev-util/Hermes + ) +" + +pkg_setup() { + elog "There is a lot of options for this package," + elog "especially for run time behaviour." + elog "You can set them using EXTRA_ECONF variable." + elog "To see full list of options visit:" + elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html; +} + +src_prepare() { + default + + rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die +} + +src_configure() { + # set environment variables to pass to Lmod configuration + local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}" + local -x SHORT_TIME="${SHORT_TIME:-2}" + local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}" + local -x SITE_NAME="${SITE_NAME:-Gentoo}" + local -x SYSHOST="${SYSHOST:-Gentoo}" + + local myconf=( + --with-tcl + --with-fastTCLInterp + --with-colorize + --prefix=/opt + --with-ancient="${CACHE_LIFETIME}" + --with-supportKsh + --with-updateSystemFn="${SYSTEM_TOUCH}" + --with-siteName="${SITE_NAME}" + --with-syshost="${SYSHOST}" + --with-shortTime="${SHORT_TIME}" + --without-useBuiltinPkgs + $(use_with duplicate duplicatePaths) + $(use_with nocase caseIndependentSorting) + $(use_with italic hiddenItalic) + $(use_with auto-swap autoSwap) + $(use_with module-cmd exportedModuleCmd) + $(use_with redirect) + $(use_with dotfiles useDotFiles) + $(use_with cache cachedLoads) + $(use_with extend extendedDefault) + ) + + econf ${myconf[@]} ${EXTRA_ECONF[@]} +} + +src_test() { + local -x PATH="/opt/hermes/bin:${PATH}" + tm -vvv || die +} + +src_install() { + default + + keepdir /var/lmod +} + +pkg_postinst() { + elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}" + elog "To activate Lmod, you need to source the profile" + elog "script provided" + elog " $ . /opt/lmod/lmod/init/profile" + elog "This will provide you with the 'module' command" + elog " $ man module" +} diff --git a/sys-cluster/Lmod/metadata.xml b/sys-cluster/Lmod/metadata.xml new file mode 100644 index 0..6297993f4 --- /dev/null +++ b/sys-cluster/Lmod/metadata.xml @@ -0,0 +1,23 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + gen...@aisha.cc + Aisha Tammy + + + s...@gentoo.org + Gentoo Science Project + + + enable auto swapping of compiler + enable caching of modules + use ~/.lmod.d/.cache instead of ~/.lmod.d/__cache__ + allow duplicate entries in path + enable extended default functionality + use italics, instead of faint colors, to represent hidden folders + export module command + do case insensitive sortings and searches + redirect messages to stdout + +