1 |
commit: ab87b6883a054ccc166552e9cd4f46aa23be59b6 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 6 07:46:18 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 6 08:31:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab87b688 |
7 |
|
8 |
sys-cluster/lmod: drop 8.4.20 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
sys-cluster/lmod/Manifest | 1 - |
13 |
sys-cluster/lmod/lmod-8.4.20.ebuild | 130 ------------------------------------ |
14 |
2 files changed, 131 deletions(-) |
15 |
|
16 |
diff --git a/sys-cluster/lmod/Manifest b/sys-cluster/lmod/Manifest |
17 |
index e65fade5684..97246a6910d 100644 |
18 |
--- a/sys-cluster/lmod/Manifest |
19 |
+++ b/sys-cluster/lmod/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST lmod-8.4.20.tar.gz 19889342 BLAKE2B aef498ec8dd2b87aca02d66f394418aba4a81d1fec4684750e59d48d06bad16db7a24290920e40290ecba8a4bc65c7dbe5c23be28654db79433f41164fa4aaf6 SHA512 9749e34e7ad75531c87770b73fd20dab16c89c24e1a2d01e58f09f8510ffc8f896dfa7eab9dab26fe4d6d14ba04d331f98e08e92e0943aede9fe5131af038970 |
22 |
DIST lmod-8.5.6.tar.gz 20986562 BLAKE2B 49a8062f92beb40ce364281f452d221df73ad540f4a510998a909d5733446c45e2cc017901ce5d2384b37a570b8dddcb16d0dc229209137e3a6483e29b97c8bf SHA512 652c678907740c89d6a86f1e403a3e8370e3e4666c03795340b4e70fab8c67a2e705c31fba84f05fd1bf15eb9868808896c73627e87617d2f2c0b5142c48fa97 |
23 |
|
24 |
diff --git a/sys-cluster/lmod/lmod-8.4.20.ebuild b/sys-cluster/lmod/lmod-8.4.20.ebuild |
25 |
deleted file mode 100644 |
26 |
index b8c9fbcde3b..00000000000 |
27 |
--- a/sys-cluster/lmod/lmod-8.4.20.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,130 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-LUA_COMPAT=( lua5-{1..3} ) |
36 |
-inherit autotools lua-single |
37 |
- |
38 |
-DESCRIPTION="Environment Module System based on Lua" |
39 |
-HOMEPAGE="https://lmod.readthedocs.io/en/latest https://github.com/TACC/Lmod" |
40 |
- |
41 |
-if [[ ${PV} == 9999 ]]; then |
42 |
- inherit git-r3 |
43 |
- EGIT_REPO_URI="https://github.com/TACC/Lmod" |
44 |
-else |
45 |
- SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- S="${WORKDIR}"/Lmod-${PV} |
47 |
- KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" |
48 |
-fi |
49 |
- |
50 |
-LICENSE="MIT" |
51 |
-SLOT="0" |
52 |
-IUSE="+auto-swap +cache duplicate-paths test" |
53 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-RDEPEND="${LUA_DEPS} |
57 |
- dev-lang/tcl |
58 |
- dev-lang/tk |
59 |
- $(lua_gen_cond_dep ' |
60 |
- >=dev-lua/luafilesystem-1.8.0[${LUA_USEDEP}] |
61 |
- dev-lua/luajson[${LUA_USEDEP}] |
62 |
- dev-lua/luaposix[${LUA_USEDEP}] |
63 |
- dev-lua/lua-term[${LUA_USEDEP}] |
64 |
- ') |
65 |
- virtual/pkgconfig |
66 |
-" |
67 |
-DEPEND="${RDEPEND}" |
68 |
-BDEPEND="${RDEPEND} |
69 |
- test? ( |
70 |
- $(lua_gen_cond_dep ' |
71 |
- dev-util/hermes[${LUA_SINGLE_USEDEP}] |
72 |
- ') |
73 |
- app-shells/tcsh |
74 |
- ) |
75 |
-" |
76 |
- |
77 |
-PATCHES=( "${FILESDIR}"/${PN}-8.4.19-no-libsandbox.patch ) |
78 |
- |
79 |
-pkg_pretend() { |
80 |
- elog "You can control the siteName and syshost settings by" |
81 |
- elog "using the variables LMOD_SITENAME and LMOD_SYSHOST, during" |
82 |
- elog "build time, which are both set to 'Gentoo' by default." |
83 |
- elog "There are a lot of options for this package, especially" |
84 |
- elog "for run time behaviour. Remember to use the EXTRA_ECONF variable." |
85 |
- elog "To see full list of options visit:" |
86 |
- elog "\t https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html" |
87 |
-} |
88 |
- |
89 |
-src_prepare() { |
90 |
- default |
91 |
- rm -r pkgs/{luafilesystem,term} || die |
92 |
- rm -r rt/{ck_mtree_syntax,colorize,end2end,help,ifur,settarg} || die |
93 |
- eautoreconf |
94 |
-} |
95 |
- |
96 |
-src_configure() { |
97 |
- local LMOD_SITENAME="${LMOD_SITENAME:-Gentoo}" |
98 |
- local LMOD_SYSHOST="${LMOD_SYSHOST:-Gentoo}" |
99 |
- |
100 |
- local LUAC="${LUA%/*}/luac${LUA#*lua}" |
101 |
- |
102 |
- local myconf=( |
103 |
- --with-tcl |
104 |
- --with-fastTCLInterp |
105 |
- --with-colorize |
106 |
- --with-supportKsh |
107 |
- --without-useBuiltinPkgs |
108 |
- --with-siteControlPrefix |
109 |
- --with-siteName="${LMOD_SITENAME}" |
110 |
- --with-syshost="${LMOD_SYSHOST}" |
111 |
- --with-lua_include="$(lua_get_include_dir)" |
112 |
- --with-lua="${LUA}" |
113 |
- --with-luac="${LUAC}" |
114 |
- --with-module-root-path="${EPREFIX}/etc/modulefiles" |
115 |
- --with-spiderCacheDir="${EPREFIX}/etc/lmod_cache/spider_cache" |
116 |
- --with-updateSystemFn="${EPREFIX}/etc/lmod_cache/system.txt" |
117 |
- --prefix="${EPREFIX}/usr/share/Lmod" |
118 |
- --with-caseIndependentSorting |
119 |
- --without-hiddenItalic |
120 |
- --with-exportedModuleCmd |
121 |
- --with-useDotFiles |
122 |
- --without-redirect |
123 |
- --with-extendedDefault |
124 |
- $(use_with cache cachedLoads) |
125 |
- $(use_with duplicate-paths duplicatePaths) |
126 |
- $(use_with auto-swap autoSwap) |
127 |
- ) |
128 |
- econf "${myconf[@]}" |
129 |
-} |
130 |
- |
131 |
-src_compile() { |
132 |
- CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ |
133 |
- default |
134 |
-} |
135 |
- |
136 |
-src_test() { |
137 |
- local -x PATH="${EPREFIX}/opt/hermes/bin:${PATH}" |
138 |
- tm -vvv || die |
139 |
- testcleanup || die |
140 |
-} |
141 |
- |
142 |
-src_install() { |
143 |
- default |
144 |
- newman "${FILESDIR}"/module.1-8.4.20 module.1 |
145 |
- # not a real man page |
146 |
- rm -r "${ED}"/usr/share/Lmod/share/man || die |
147 |
- doenvd "${FILESDIR}"/99lmod |
148 |
- keepdir /etc/modulefiles |
149 |
- keepdir /etc/lmod_cache |
150 |
-} |
151 |
- |
152 |
-pkg_postinst() { |
153 |
- if use cache ; then |
154 |
- elog "Lmod spider cache has been enabled." |
155 |
- elog "Remember to update the spider cache with" |
156 |
- elog "/usr/share/Lmod/libexec/update_lmod_system_cache_files \ " |
157 |
- elog "\t \$MODULEPATH" |
158 |
- fi |
159 |
-} |