summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-06 09:46:18 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-06 10:31:34 +0200
commitab87b6883a054ccc166552e9cd4f46aa23be59b6 (patch)
treea0fdc1ae7267564d89a9b839642c32bfd312f8c1 /sys-cluster
parentdev-python/django: Bump to 3.2.8 (diff)
downloadgentoo-ab87b6883a054ccc166552e9cd4f46aa23be59b6.tar.gz
gentoo-ab87b6883a054ccc166552e9cd4f46aa23be59b6.tar.bz2
gentoo-ab87b6883a054ccc166552e9cd4f46aa23be59b6.zip
sys-cluster/lmod: drop 8.4.20
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/lmod/Manifest1
-rw-r--r--sys-cluster/lmod/lmod-8.4.20.ebuild130
2 files changed, 0 insertions, 131 deletions
diff --git a/sys-cluster/lmod/Manifest b/sys-cluster/lmod/Manifest
index e65fade5684d..97246a6910d1 100644
--- a/sys-cluster/lmod/Manifest
+++ b/sys-cluster/lmod/Manifest
@@ -1,2 +1 @@
-DIST lmod-8.4.20.tar.gz 19889342 BLAKE2B aef498ec8dd2b87aca02d66f394418aba4a81d1fec4684750e59d48d06bad16db7a24290920e40290ecba8a4bc65c7dbe5c23be28654db79433f41164fa4aaf6 SHA512 9749e34e7ad75531c87770b73fd20dab16c89c24e1a2d01e58f09f8510ffc8f896dfa7eab9dab26fe4d6d14ba04d331f98e08e92e0943aede9fe5131af038970
DIST lmod-8.5.6.tar.gz 20986562 BLAKE2B 49a8062f92beb40ce364281f452d221df73ad540f4a510998a909d5733446c45e2cc017901ce5d2384b37a570b8dddcb16d0dc229209137e3a6483e29b97c8bf SHA512 652c678907740c89d6a86f1e403a3e8370e3e4666c03795340b4e70fab8c67a2e705c31fba84f05fd1bf15eb9868808896c73627e87617d2f2c0b5142c48fa97
diff --git a/sys-cluster/lmod/lmod-8.4.20.ebuild b/sys-cluster/lmod/lmod-8.4.20.ebuild
deleted file mode 100644
index b8c9fbcde3bf..000000000000
--- a/sys-cluster/lmod/lmod-8.4.20.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# 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 https://github.com/TACC/Lmod"
-
-if [[ ${PV} == 9999 ]]; 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 ~arm ~ppc ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="+auto-swap +cache duplicate-paths test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${LUA_DEPS}
- 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}]
- ')
- app-shells/tcsh
- )
-"
-
-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 -r pkgs/{luafilesystem,term} || die
- rm -r rt/{ck_mtree_syntax,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-spiderCacheDir="${EPREFIX}/etc/lmod_cache/spider_cache"
- --with-updateSystemFn="${EPREFIX}/etc/lmod_cache/system.txt"
- --prefix="${EPREFIX}/usr/share/Lmod"
- --with-caseIndependentSorting
- --without-hiddenItalic
- --with-exportedModuleCmd
- --with-useDotFiles
- --without-redirect
- --with-extendedDefault
- $(use_with cache cachedLoads)
- $(use_with duplicate-paths duplicatePaths)
- $(use_with auto-swap autoSwap)
- )
- econf "${myconf[@]}"
-}
-
-src_compile() {
- CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
- default
-}
-
-src_test() {
- local -x PATH="${EPREFIX}/opt/hermes/bin:${PATH}"
- tm -vvv || die
- testcleanup || die
-}
-
-src_install() {
- default
- newman "${FILESDIR}"/module.1-8.4.20 module.1
- # not a real man page
- rm -r "${ED}"/usr/share/Lmod/share/man || die
- doenvd "${FILESDIR}"/99lmod
- keepdir /etc/modulefiles
- keepdir /etc/lmod_cache
-}
-
-pkg_postinst() {
- if use cache ; then
- elog "Lmod spider cache has been enabled."
- elog "Remember to update the spider cache with"
- elog "/usr/share/Lmod/libexec/update_lmod_system_cache_files \ "
- elog "\t \$MODULEPATH"
- fi
-}