1 |
commit: bc1d0cabe2be95e670427b277df51450add56b0e |
2 |
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 25 19:34:14 2017 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 25 19:34:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bc1d0cab |
7 |
|
8 |
sys-cluster/modules: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/modules/files/modules.new.sh.in | 8 ---- |
14 |
sys-cluster/modules/modules-3.2.10-r1.ebuild | 60 ---------------------------- |
15 |
sys-cluster/modules/modules-3.2.10.ebuild | 48 ---------------------- |
16 |
sys-cluster/modules/modules-3.2.9c.ebuild | 33 --------------- |
17 |
4 files changed, 149 deletions(-) |
18 |
|
19 |
diff --git a/sys-cluster/modules/files/modules.new.sh.in b/sys-cluster/modules/files/modules.new.sh.in |
20 |
deleted file mode 100644 |
21 |
index aceb1bafb..000000000 |
22 |
--- a/sys-cluster/modules/files/modules.new.sh.in |
23 |
+++ /dev/null |
24 |
@@ -1,8 +0,0 @@ |
25 |
-shell=$(basename $(ps -p $$ -ocomm=)) |
26 |
-if [ -f @EPREFIX@/usr/share/Modules/init/${shell} ] |
27 |
-then |
28 |
- . @EPREFIX@/usr/share/Modules/init/${shell} |
29 |
-elif [ -f @PREFIX@/usr/share/Modules/init/${shell} ] |
30 |
-then |
31 |
- . @PREFIX@/usr/share/Modules/init/sh |
32 |
-fi |
33 |
|
34 |
diff --git a/sys-cluster/modules/modules-3.2.10-r1.ebuild b/sys-cluster/modules/modules-3.2.10-r1.ebuild |
35 |
deleted file mode 100644 |
36 |
index 71f4b01c0..000000000 |
37 |
--- a/sys-cluster/modules/modules-3.2.10-r1.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,60 +0,0 @@ |
40 |
-# Copyright 1999-2015 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=5 |
44 |
- |
45 |
-inherit autotools-utils multilib |
46 |
- |
47 |
-DESCRIPTION="Dynamic modification of a user's environment via modulefiles" |
48 |
-HOMEPAGE="http://modules.sourceforge.net/" |
49 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
54 |
-IUSE="test X" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- dev-lang/tcl:0= |
58 |
- dev-tcltk/tclx |
59 |
- X? ( x11-libs/libX11 )" |
60 |
-DEPEND="${RDEPEND} |
61 |
- test? ( dev-util/dejagnu )" |
62 |
- |
63 |
-S="${WORKDIR}/${P%[a-z]}" |
64 |
- |
65 |
-DOCS=(ChangeLog README NEWS TODO) |
66 |
- |
67 |
-src_prepare() { |
68 |
- has_version ">=dev-lang/tcl-8.6.0" && \ |
69 |
- epatch "${FILESDIR}"/${P}-errorline.patch |
70 |
- epatch \ |
71 |
- "${FILESDIR}"/${P}-bindir.patch \ |
72 |
- "${FILESDIR}"/${P}-versioning.patch \ |
73 |
- "${FILESDIR}"/${P}-clear.patch \ |
74 |
- "${FILESDIR}"/${P}-avail.patch |
75 |
- sed -e "s:@EPREFIX@:${EPREFIX}:g" \ |
76 |
- "${FILESDIR}"/modules.sh.in > modules.sh |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- local myeconfargs=( |
81 |
- --disable-versioning |
82 |
- --prefix="${EPREFIX}/usr/share" |
83 |
- --exec-prefix="${EPREFIX}/usr/share/Modules" |
84 |
- --with-module-path="${EPREFIX}/etc/modulefiles" |
85 |
- --with-tcl="${EPREFIX}/usr/$(get_libdir)" |
86 |
- $(use_with X x) |
87 |
- ) |
88 |
- autotools-utils_src_configure |
89 |
-} |
90 |
- |
91 |
-src_install() { |
92 |
- autotools-utils_src_install |
93 |
- insinto /etc/profile.d |
94 |
- doins modules.sh |
95 |
- exeinto /usr/share/Modules/bin |
96 |
- doexe "${FILESDIR}"/createmodule.{sh,py} |
97 |
- dosym /usr/share/Modules/init/csh /etc/profile.d/modules.csh |
98 |
- dodir /etc/modulefiles |
99 |
-} |
100 |
|
101 |
diff --git a/sys-cluster/modules/modules-3.2.10.ebuild b/sys-cluster/modules/modules-3.2.10.ebuild |
102 |
deleted file mode 100644 |
103 |
index c8823b46e..000000000 |
104 |
--- a/sys-cluster/modules/modules-3.2.10.ebuild |
105 |
+++ /dev/null |
106 |
@@ -1,48 +0,0 @@ |
107 |
-# Copyright 1999-2015 Gentoo Foundation |
108 |
-# Distributed under the terms of the GNU General Public License v2 |
109 |
- |
110 |
-EAPI=5 |
111 |
- |
112 |
-inherit autotools-utils |
113 |
- |
114 |
-DESCRIPTION="Dynamic modification of a user's environment via modulefiles" |
115 |
-HOMEPAGE="http://modules.sourceforge.net/" |
116 |
-SRC_URI="http://sourceforge.net/projects/modules/files/Modules/${P%[a-z]}/${P}.tar.bz2/download -> ${P}.tar.bz2" |
117 |
- |
118 |
-LICENSE="GPL-2" |
119 |
-SLOT="0" |
120 |
-KEYWORDS="~x86 ~amd64" |
121 |
-IUSE="X" |
122 |
- |
123 |
-DEPEND=" |
124 |
- dev-lang/tcl:0= |
125 |
- dev-tcltk/tclx |
126 |
- X? ( x11-libs/libX11 ) |
127 |
- " |
128 |
-RDEPEND="${DEPEND}" |
129 |
- |
130 |
-S="${WORKDIR}/${P%[a-z]}" |
131 |
- |
132 |
-DOCS=(ChangeLog README NEWS TODO) |
133 |
- |
134 |
-src_prepare() { |
135 |
- has_version ">=dev-lang/tcl-8.6.0" && epatch "${FILESDIR}/${P}-errorline.patch" |
136 |
-} |
137 |
- |
138 |
-src_configure() { |
139 |
- local myeconfargs=( |
140 |
- $(use_with X x) |
141 |
- --prefix=/opt |
142 |
- ) |
143 |
- autotools-utils_src_configure |
144 |
-} |
145 |
- |
146 |
-src_install() { |
147 |
- autotools-utils_src_install |
148 |
- dosym ${PV%[a-z]} /opt/Modules/default |
149 |
-} |
150 |
- |
151 |
-pkg_postinst() { |
152 |
- elog "Add this line at the end of your bashrc:" |
153 |
- elog "[ -f /opt/Modules/default/init/bash ] && source /opt/Modules/default/init/bash" |
154 |
-} |
155 |
|
156 |
diff --git a/sys-cluster/modules/modules-3.2.9c.ebuild b/sys-cluster/modules/modules-3.2.9c.ebuild |
157 |
deleted file mode 100644 |
158 |
index 7adeb33f0..000000000 |
159 |
--- a/sys-cluster/modules/modules-3.2.9c.ebuild |
160 |
+++ /dev/null |
161 |
@@ -1,33 +0,0 @@ |
162 |
-# Copyright 1999-2015 Gentoo Foundation |
163 |
-# Distributed under the terms of the GNU General Public License v2 |
164 |
- |
165 |
-EAPI=5 |
166 |
- |
167 |
-inherit autotools-utils |
168 |
- |
169 |
-DESCRIPTION="Dynamic modification of a user's environment via modulefiles" |
170 |
-HOMEPAGE="http://modules.sourceforge.net/" |
171 |
-SRC_URI="http://sourceforge.net/projects/modules/files/Modules/${P%[a-z]}/${P}.tar.bz2/download -> ${P}.tar.bz2" |
172 |
- |
173 |
-LICENSE="GPL-2" |
174 |
-SLOT="0" |
175 |
-KEYWORDS="~amd64" |
176 |
-IUSE="X" |
177 |
- |
178 |
-DEPEND=" |
179 |
- dev-lang/tcl:0= |
180 |
- dev-tcltk/tclx |
181 |
- X? ( x11-libs/libX11 ) |
182 |
- " |
183 |
-RDEPEND="${DEPEND}" |
184 |
- |
185 |
-S="${WORKDIR}/${P%[a-z]}" |
186 |
- |
187 |
-DOCS=(ChangeLog README NEWS TODO) |
188 |
- |
189 |
-src_configure() { |
190 |
- local myeconfargs=( |
191 |
- $(use_with X x) |
192 |
- ) |
193 |
- autotools-utils_src_configure |
194 |
-} |