From b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Jun 2021 14:47:38 +0100 Subject: gentoo resync : 24.06.2021 --- sys-cluster/lmod/Manifest | 6 +- sys-cluster/lmod/lmod-8.5.3.ebuild | 132 ------------------------------------- sys-cluster/lmod/lmod-8.5.6.ebuild | 130 ++++++++++++++++++++++++++++++++++++ sys-cluster/lmod/lmod-9999.ebuild | 2 +- 4 files changed, 134 insertions(+), 136 deletions(-) delete mode 100644 sys-cluster/lmod/lmod-8.5.3.ebuild create mode 100644 sys-cluster/lmod/lmod-8.5.6.ebuild (limited to 'sys-cluster/lmod') diff --git a/sys-cluster/lmod/Manifest b/sys-cluster/lmod/Manifest index c43ab802145a..3027188421d0 100644 --- a/sys-cluster/lmod/Manifest +++ b/sys-cluster/lmod/Manifest @@ -2,8 +2,8 @@ AUX 99lmod 22 BLAKE2B 6a470f0e5796f21f10e10161ee1fdb4fb3d794a9261bee9887c9e2d179 AUX lmod-8.4.19-no-libsandbox.patch 374 BLAKE2B f4bf516a737f73cb547bd07933d2839748259bef017b740b2cb3e5e5fbba6909e932d3211edb1ba48fd16545ecfd7f3a2239046f5478bfad68f9d7ccdb296307 SHA512 9b5b5300588dda23efd82f8d55373be6f69289efad42260a721eb68dfc01475a8f18a9bba8eead8fe66724b8a8df0d75a4c6a85d51e0d3011cc1435cb8f148b6 AUX module.1-8.4.20 7580 BLAKE2B 6b4f8f721178326a4124bb9c907d4dc0e7c1b7251c724af2826aa3f495af4702f0c9a8cbb06847fec5d44f525cd463b4f0ec898a6cd3074d11c3195ede191af5 SHA512 cfc9eb011f5e5fb2a40b9dfe71e6a888f573e17a55d0d34fe529dbb887ff7932e17c0172663c95dfbd00b67f883608921ae7bb19d352b6d9ce8207d13ca13c8b DIST lmod-8.4.20.tar.gz 19889342 BLAKE2B aef498ec8dd2b87aca02d66f394418aba4a81d1fec4684750e59d48d06bad16db7a24290920e40290ecba8a4bc65c7dbe5c23be28654db79433f41164fa4aaf6 SHA512 9749e34e7ad75531c87770b73fd20dab16c89c24e1a2d01e58f09f8510ffc8f896dfa7eab9dab26fe4d6d14ba04d331f98e08e92e0943aede9fe5131af038970 -DIST lmod-8.5.3.tar.gz 20987187 BLAKE2B 3b0bf30524e7ba1f364650385afabaffce54db3fdcce7710a8d4a0fc3d4b2e852bed00fd8c155790ea3e2fb4aed33883af7edc3418b20cf7890f422962af9eb6 SHA512 41d7eda5aa2a1e9e91db3aa854f1810a5a2fadc9f5118561cec6a33a246870b25244aa3a5106f7a434278a76d4ceac4b8bbeb6d55ba82332615fc43a6e215629 +DIST lmod-8.5.6.tar.gz 20986562 BLAKE2B 49a8062f92beb40ce364281f452d221df73ad540f4a510998a909d5733446c45e2cc017901ce5d2384b37a570b8dddcb16d0dc229209137e3a6483e29b97c8bf SHA512 652c678907740c89d6a86f1e403a3e8370e3e4666c03795340b4e70fab8c67a2e705c31fba84f05fd1bf15eb9868808896c73627e87617d2f2c0b5142c48fa97 EBUILD lmod-8.4.20.ebuild 3343 BLAKE2B 93530c3a728eac023cee887c5f46ead4ab742d33a17bac361dde5db593aaf182362dd4282f078ed421f7d138532b0ee95d84ba9d4114684d0b95dbf08175b5cd SHA512 8186c2ecdb9d4befe1f1725aedeb2b9652ec0607ac88b49e388e6820948bcd6f7eaea9ff140af615b6705d05ea231f037273a48ceda2373ff77dbfda330fd383 -EBUILD lmod-8.5.3.ebuild 3448 BLAKE2B 1bae0e3fc8775ba7c8e9f05e56e5362a28a899366ec3443d9cc51c98c83eb38f56b1a356f1258bdbda43b52b34483117fd6f7df523748440b4a6220ae105c2b3 SHA512 9f6aafaa0118aa84d05ec6523b72e5ef7ab20e3babc5c7bf520bd00834b6e8a1550d0360a524f976d91565abb4a1580787b4b29f1b5afd71b881cf1eb44066d1 -EBUILD lmod-9999.ebuild 3326 BLAKE2B 593228c6c7e2d21d7dda637f56ce99eae93bda463f2bc30f3e47f2dbf980a71c85543fd6095b085966ad1a43db6710a0ea09dfebe3824bd4ea1beda613d65c30 SHA512 f9e5d7ba6b9efa892db1470b1c0d2a5cc6986fad945d497d8645f1d54667621d98a9a893dca0de597bb1559ec8fb4cd10f51da10979b87b77a530883ff2ccf4d +EBUILD lmod-8.5.6.ebuild 3343 BLAKE2B 93530c3a728eac023cee887c5f46ead4ab742d33a17bac361dde5db593aaf182362dd4282f078ed421f7d138532b0ee95d84ba9d4114684d0b95dbf08175b5cd SHA512 8186c2ecdb9d4befe1f1725aedeb2b9652ec0607ac88b49e388e6820948bcd6f7eaea9ff140af615b6705d05ea231f037273a48ceda2373ff77dbfda330fd383 +EBUILD lmod-9999.ebuild 3343 BLAKE2B 93530c3a728eac023cee887c5f46ead4ab742d33a17bac361dde5db593aaf182362dd4282f078ed421f7d138532b0ee95d84ba9d4114684d0b95dbf08175b5cd SHA512 8186c2ecdb9d4befe1f1725aedeb2b9652ec0607ac88b49e388e6820948bcd6f7eaea9ff140af615b6705d05ea231f037273a48ceda2373ff77dbfda330fd383 MISC metadata.xml 1081 BLAKE2B 0ec2fa6b5885b729065b273c75fe70341b12acc11548b2a9c989853a48c60bd8fd60d377acae6ca42fade5b87f5378a5e5fb2d408cd8665085beac8872b252e8 SHA512 0872338780b16bd7eaa7912862ce34b0ab8e60c765023c3a359587b0e74515fe52b14bed61fdc4929a44ef714c13b21e0914f618197573ef18fb028d474e5b4a diff --git a/sys-cluster/lmod/lmod-8.5.3.ebuild b/sys-cluster/lmod/lmod-8.5.3.ebuild deleted file mode 100644 index 8564d3f3dae6..000000000000 --- a/sys-cluster/lmod/lmod-8.5.3.ebuild +++ /dev/null @@ -1,132 +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) - # needed because configure.ac relies on TCL_INCLUDE not being empty - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 - ) - 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 -} diff --git a/sys-cluster/lmod/lmod-8.5.6.ebuild b/sys-cluster/lmod/lmod-8.5.6.ebuild new file mode 100644 index 000000000000..b8c9fbcde3bf --- /dev/null +++ b/sys-cluster/lmod/lmod-8.5.6.ebuild @@ -0,0 +1,130 @@ +# 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 +} diff --git a/sys-cluster/lmod/lmod-9999.ebuild b/sys-cluster/lmod/lmod-9999.ebuild index 4cbf6b21b9b0..b8c9fbcde3bf 100644 --- a/sys-cluster/lmod/lmod-9999.ebuild +++ b/sys-cluster/lmod/lmod-9999.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then else SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/Lmod-${PV} - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" fi LICENSE="MIT" -- cgit v1.2.3