Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/
Date: Fri, 30 Oct 2020 23:14:00
Message-Id: 1604099284.117d6666b60b7828367aa13a04dea8666d990d18.epsilon-0@gentoo
1 commit: 117d6666b60b7828367aa13a04dea8666d990d18
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Oct 30 23:08:04 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Fri Oct 30 23:08:04 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=117d6666
7
8 sys-cluster/Lmod: drop old version 8.4.9
9
10 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
11
12 sys-cluster/Lmod/Lmod-8.4.9.ebuild | 104 -------------------------------------
13 1 file changed, 104 deletions(-)
14
15 diff --git a/sys-cluster/Lmod/Lmod-8.4.9.ebuild b/sys-cluster/Lmod/Lmod-8.4.9.ebuild
16 deleted file mode 100644
17 index 925e1d5e9..000000000
18 --- a/sys-cluster/Lmod/Lmod-8.4.9.ebuild
19 +++ /dev/null
20 @@ -1,104 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -DESCRIPTION="Environment Module System based on Lua"
27 -HOMEPAGE="https://lmod.readthedocs.io/en/latest"
28 -SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz"
29 -
30 -KEYWORDS="~amd64"
31 -
32 -LICENSE="MIT"
33 -SLOT="0"
34 -IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase redirect test"
35 -RESTRICT="!test? ( test )"
36 -
37 -RDEPEND+="
38 - app-shells/tcsh
39 - || (
40 - app-shells/loksh
41 - app-shells/mksh
42 - app-shells/ksh
43 - )
44 - app-shells/zsh
45 - dev-lang/tcl
46 - dev-lua/luafilesystem
47 - dev-lua/luajson
48 - dev-lua/luaposix
49 - dev-lua/lua-term
50 -"
51 -DEPEND+="${RDEPEND}"
52 -BDEPEND+="
53 - test? (
54 - dev-util/Hermes
55 - )
56 -"
57 -
58 -pkg_setup() {
59 - elog "There is a lot of options for this package,"
60 - elog "especially for run time behaviour."
61 - elog "You can set them using EXTRA_ECONF variable."
62 - elog "To see full list of options visit:"
63 - elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html"
64 -}
65 -
66 -src_prepare() {
67 - default
68 -
69 - rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die
70 -}
71 -
72 -src_configure() {
73 - # set environment variables to pass to Lmod configuration
74 - local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}"
75 - local -x SHORT_TIME="${SHORT_TIME:-2}"
76 - local -x SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}"
77 - local -x SITE_NAME="${SITE_NAME:-Gentoo}"
78 - local -x SYSHOST="${SYSHOST:-Gentoo}"
79 -
80 - local myconf=(
81 - --with-tcl
82 - --with-fastTCLInterp
83 - --with-colorize
84 - --prefix=/opt
85 - --with-ancient="${CACHE_LIFETIME}"
86 - --with-supportKsh
87 - --with-updateSystemFn="${SYSTEM_TOUCH}"
88 - --with-siteName="${SITE_NAME}"
89 - --with-syshost="${SYSHOST}"
90 - --with-shortTime="${SHORT_TIME}"
91 - --without-useBuiltinPkgs
92 - $(use_with duplicate duplicatePaths)
93 - $(use_with nocase caseIndependentSorting)
94 - $(use_with italic hiddenItalic)
95 - $(use_with auto-swap autoSwap)
96 - $(use_with module-cmd exportedModuleCmd)
97 - $(use_with redirect)
98 - $(use_with dotfiles useDotFiles)
99 - $(use_with cache cachedLoads)
100 - $(use_with extend extendedDefault)
101 - )
102 -
103 - econf ${myconf[@]} ${EXTRA_ECONF[@]}
104 -}
105 -
106 -src_test() {
107 - local -x PATH="/opt/hermes/bin:${PATH}"
108 - tm -vvv || die
109 -}
110 -
111 -src_install() {
112 - default
113 -
114 - keepdir /var/lmod
115 -}
116 -
117 -pkg_postinst() {
118 - elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}"
119 - elog "To activate Lmod, you need to source the profile"
120 - elog "script provided"
121 - elog " $ . /opt/lmod/lmod/init/profile"
122 - elog "This will provide you with the 'module' command"
123 - elog " $ man module"
124 -}