Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/
Date: Mon, 02 Nov 2020 10:21:05
Message-Id: 1604312455.09774b8f20bc65dcee7cac79a17f8f22c66741dc.slyfox@gentoo
1 commit: 09774b8f20bc65dcee7cac79a17f8f22c66741dc
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 08:38:25 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 10:20:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09774b8f
7
8 dev-lang/erlang: drop old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-lang/erlang/Manifest | 4 -
14 dev-lang/erlang/erlang-22.3.2.ebuild | 158 -----------------------------------
15 dev-lang/erlang/erlang-22.3.4.ebuild | 158 -----------------------------------
16 3 files changed, 320 deletions(-)
17
18 diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest
19 index a1d1bb1021c..e2c841c34b5 100644
20 --- a/dev-lang/erlang/Manifest
21 +++ b/dev-lang/erlang/Manifest
22 @@ -1,11 +1,7 @@
23 -DIST erlang-22.3.2.tar.gz 55856668 BLAKE2B d5d2ae17b8fb1b7c3da0c145e4e17d38e47d5291d6bc77228c9280eaa114630003f0e75cc0b6eafd21642a86448d8fd907d95c006cdfe6f18978e796e20585bd SHA512 02333fed57394012834452aff38d9a3340c52b109b14e444b6e7975ac3a65485de1deda6ae6c732a28f75ca2518000de576f70497118306699e35af5f249a0d1
24 -DIST erlang-22.3.4.tar.gz 55861416 BLAKE2B 881eb664ea449fa021cdb6daaeb998ea5f736eae0900ad67c1416c0e0e0888b212e1fd1fc0ee655f1c05821b56bae52f150c3f29c2eddbac205d2a6f2fce5494 SHA512 14e90efb40568a1fd7a32b82fcdf32df8ccbda938b9e538bb3b1a77d343ae16f5721abb3d47e8dd567d7aa91d1dea6da8b7ada8a5cd8d33c38ba324f1d65eca1
25 DIST erlang-23.0.3.tar.gz 56388263 BLAKE2B 58f41ab2956c93fbabc6b91f89e3c3f3c23a7dc7dc5473f1cf99817043aa18949933d6182e7e7daefa394529d2b2be8efb51462d8e7a8beb23ed70dbe2c0a319 SHA512 f7752bfa06dd283b36e330ba4270ee37ca759be697c804e6ac249becdc67de4bccb43f60a8d47f9a094d778f11fb17cf6d29de8ce60471aeb18c5fbd64cdfb4d
26 DIST erlang-23.0.4.tar.gz 56394805 BLAKE2B 10a4e9e3084ad2d1bb10fa736d86eb03fa6b249f83b9d06bfef4c37f99ad86dd1415c2fbaa1524cddaf57dd228d25f388fa9fe9f5b4a03ba7477080e11020fb1 SHA512 53d4b7a5e76113bb3a9695a266e58dbebb57887b1eea4e8acb56bb85d194295231d739719d526dfc6d1f0bf745d7f059fdf5ec9dc79859f5b16a75c4d0a6b348
27 DIST erlang-23.1.1.tar.gz 56498218 BLAKE2B cd513a2d45aecc12503df8765e0f4170001373c0e6b35b4c01d7471906408558a3b6bbf9c189858fce3cb8fd7020270813550e2099f04c8094afc49dcd070016 SHA512 572164e601796bc7b0df3818c859b23872f148dcc72f44f611d9d5684b0c9974b00496aa0fd521dc01d0d3481556b6641d3cbd859bd7bfadefd15115728d16d9
28 -DIST erlang_doc_html_22.3.tar.gz 34041790 BLAKE2B 76372acf5d6a581fb97cac9fa8230f1505650e9398d0a8e6ed163718f6d64cbbb3b7c79a1b7129827482345ddf950be4a5d83f0dac44e173f0ef45b148b73faa SHA512 9199b6229b73a22e271c232ce03b83b65c265367062d57ca5babd23a2f0a088fde3054b25c65c1bf2cb714cb70354ce4324aa8e865db72beb1f788c27389558c
29 DIST erlang_doc_html_23.0.tar.gz 36238699 BLAKE2B bce5fb1d766d3a795728cf7c00529129690f52e5dbe7363095cb7e63d5331a4dfc05c2042d24f10c7f3facbd187284aa323a92c0ed7515c1750aee4cd890fbd4 SHA512 bd0b1adf8639674d31152024e1351105249c6e6f93f28362e9e4b66ce6daadbe5eef5917a5889c926130e81bd000cfc44895ebaa309bf9a0c1c125713b715927
30 DIST erlang_doc_html_23.1.tar.gz 36285075 BLAKE2B e2e24ac4cecfc9c10853fd3718e8e332579a91bf25eaaf9e0fc2044d89bcd6d03fd251d6a8ab64a86439f1244e275ef398701b47933a741d4e64016838db48aa SHA512 c8fecb08344c9c7a4c7b911ac4f73e2d8c0c3778d665098c3377e055346a7ecfcc378bca28dff768c36dc7bf7447308f4fb58273875c22f2d6cd896fd6232656
31 -DIST erlang_doc_man_22.3.tar.gz 1366911 BLAKE2B 89931e9ea4ef54526eb910d3b0a56711e447dffc0463d7583db8875b9be789fd369f701eb7b6fa5da7b63de3f41a8e4ba15db6db02d90642a8b322f3897d7a2b SHA512 b47c66ebd34d2f511a702e97acd67eff7c5d47045a80ffb17b21032a9b9725b015cd171b78c04e3169a95f0acdbdcab57647b31ace751c9019ce3f7c75d743b6
32 DIST erlang_doc_man_23.0.tar.gz 1383486 BLAKE2B 63a9989c26797fe07fbd0ccca0d8425d94bc60a86fa93b5332c8d1f3e12a0071d9e6d4759be73bf44bf35dd14723b9e6707a84ba834e1775bc28aeec1edbe168 SHA512 81575ce7b267f5bb48bd844808e8edd4e373640bbc481372b288602eb9d3c9917e6c7c040c035b63a2f6edf437c3d826d6afdf5801765b51d9edd4a3b2a5b16f
33 DIST erlang_doc_man_23.1.tar.gz 1384042 BLAKE2B 914f64d9317e45e22dc0a3025306d36f12eb998734bd15cd29b540f9a848f11c1cf6897f9cd7aea2d2c95ed6ef3e544ee674a9a97a87e0340e4b65e09b0cee6e SHA512 90f026618f45a2a78590f093378e4883c5f442816367eb1691ea4fe7c36694f4a47325e738e6b585195678993bcdefdf4f8180894b16721277d02b2b79aef285
34
35 diff --git a/dev-lang/erlang/erlang-22.3.2.ebuild b/dev-lang/erlang/erlang-22.3.2.ebuild
36 deleted file mode 100644
37 index eefe9fc3c90..00000000000
38 --- a/dev-lang/erlang/erlang-22.3.2.ebuild
39 +++ /dev/null
40 @@ -1,158 +0,0 @@
41 -# Copyright 1999-2020 Gentoo Authors
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=7
45 -WX_GTK_VER="3.0"
46 -
47 -inherit elisp-common java-pkg-opt-2 systemd wxwidgets
48 -
49 -# NOTE: If you need symlinks for binaries please tell maintainers or
50 -# open up a bug to let it be created.
51 -
52 -UPSTREAM_V="$(ver_cut 1-2)"
53 -
54 -DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
55 -HOMEPAGE="https://www.erlang.org/"
56 -SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
57 - http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
58 - doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
59 -
60 -LICENSE="Apache-2.0"
61 -# We use this subslot because Compiled HiPE Code can be loaded on the exact
62 -# same build of ERTS that was used when compiling the code. See
63 -# http://erlang.org/doc/system_principles/misc.html for more information.
64 -SLOT="0/${PV}"
65 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
66 -IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
67 -
68 -RDEPEND="
69 - acct-group/epmd
70 - acct-user/epmd
71 - sys-libs/ncurses:0
72 - sys-libs/zlib
73 - emacs? ( >=app-editors/emacs-23.1:* )
74 - java? ( >=virtual/jdk-1.8:* )
75 - odbc? ( dev-db/unixODBC )
76 - sctp? ( net-misc/lksctp-tools )
77 - ssl? (
78 - !libressl? ( >=dev-libs/openssl-0.9.7d:0= )
79 - libressl? ( dev-libs/libressl:0= )
80 - )
81 - systemd? ( sys-apps/systemd )
82 - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
83 -"
84 -DEPEND="${RDEPEND}
85 - dev-lang/perl
86 -"
87 -
88 -S="${WORKDIR}/otp-OTP-${PV}"
89 -
90 -PATCHES=(
91 - "${FILESDIR}/18.2.1-wx3.0.patch"
92 - "${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
93 -)
94 -
95 -SITEFILE=50"${PN}"-gentoo.el
96 -
97 -src_prepare() {
98 - default
99 -
100 - ./otp_build autoconf || die
101 -}
102 -
103 -src_configure() {
104 - use wxwidgets && setup-wxwidgets
105 -
106 - local myconf=(
107 - --disable-builtin-zlib
108 - $(use_enable hipe)
109 - $(use_enable kpoll kernel-poll)
110 - $(use_with java javac)
111 - $(use_enable sctp)
112 - $(use_with ssl ssl "${EPREFIX}"/usr)
113 - $(use_enable ssl dynamic-ssl-lib)
114 - $(use_enable systemd)
115 - $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
116 - )
117 - econf "${myconf[@]}"
118 -}
119 -
120 -src_compile() {
121 - emake
122 -
123 - if use emacs ; then
124 - pushd lib/tools/emacs &>/dev/null || die
125 - elisp-compile *.el
126 - popd &>/dev/null || die
127 - fi
128 -}
129 -
130 -extract_version() {
131 - local path="$1"
132 - local var_name="$2"
133 - sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
134 -}
135 -
136 -src_install() {
137 - local erl_libdir_rel="$(get_libdir)/erlang"
138 - local erl_libdir="/usr/${erl_libdir_rel}"
139 - local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
140 - local erl_erts_ver="$(extract_version erts VSN)"
141 - local my_manpath="/usr/share/${PN}/man"
142 -
143 - [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
144 - [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
145 -
146 - emake INSTALL_PREFIX="${D}" install
147 -
148 - if use doc ; then
149 - # Note: we explicitly install docs into:
150 - # /usr/share/doc/${PF}/{doc,lib,erts-*}
151 - # To maintain that layout we gather everything in 'html-docs'.
152 - # See bug #684376.
153 - mkdir html-docs || die
154 - mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
155 - local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
156 - docompress -x /usr/share/doc/${PF}
157 - else
158 - local DOCS=("README.md")
159 - fi
160 -
161 - einstalldocs
162 -
163 - dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
164 - dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
165 - dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
166 - dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
167 - dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
168 -
169 - ## Clean up the no longer needed files
170 - rm "${ED}/${erl_libdir}/Install" || die
171 -
172 - insinto "${my_manpath}"
173 - doins -r "${WORKDIR}"/man/*
174 - # extend MANPATH, so the normal man command can find it
175 - # see bug 189639
176 - newenvd - "90erlang" <<-_EOF_
177 - MANPATH="${my_manpath}"
178 - _EOF_
179 -
180 - if use emacs ; then
181 - elisp-install erlang lib/tools/emacs/*.{el,elc}
182 - sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
183 - "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
184 - elisp-site-file-install "${T}/${SITEFILE}"
185 - fi
186 -
187 - newinitd "${FILESDIR}"/epmd.init-r2 epmd
188 - newconfd "${FILESDIR}"/epmd.confd-r2 epmd
189 - use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
190 -}
191 -
192 -pkg_postinst() {
193 - use emacs && elisp-site-regen
194 -}
195 -
196 -pkg_postrm() {
197 - use emacs && elisp-site-regen
198 -}
199
200 diff --git a/dev-lang/erlang/erlang-22.3.4.ebuild b/dev-lang/erlang/erlang-22.3.4.ebuild
201 deleted file mode 100644
202 index a35562ba467..00000000000
203 --- a/dev-lang/erlang/erlang-22.3.4.ebuild
204 +++ /dev/null
205 @@ -1,158 +0,0 @@
206 -# Copyright 1999-2020 Gentoo Authors
207 -# Distributed under the terms of the GNU General Public License v2
208 -
209 -EAPI=7
210 -WX_GTK_VER="3.0"
211 -
212 -inherit elisp-common java-pkg-opt-2 systemd wxwidgets
213 -
214 -# NOTE: If you need symlinks for binaries please tell maintainers or
215 -# open up a bug to let it be created.
216 -
217 -UPSTREAM_V="$(ver_cut 1-2)"
218 -
219 -DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
220 -HOMEPAGE="https://www.erlang.org/"
221 -SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
222 - http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
223 - doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
224 -
225 -LICENSE="Apache-2.0"
226 -# We use this subslot because Compiled HiPE Code can be loaded on the exact
227 -# same build of ERTS that was used when compiling the code. See
228 -# http://erlang.org/doc/system_principles/misc.html for more information.
229 -SLOT="0/${PV}"
230 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
231 -IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
232 -
233 -RDEPEND="
234 - acct-group/epmd
235 - acct-user/epmd
236 - sys-libs/ncurses:0
237 - sys-libs/zlib
238 - emacs? ( >=app-editors/emacs-23.1:* )
239 - java? ( >=virtual/jdk-1.8:* )
240 - odbc? ( dev-db/unixODBC )
241 - sctp? ( net-misc/lksctp-tools )
242 - ssl? (
243 - !libressl? ( >=dev-libs/openssl-0.9.7d:0= )
244 - libressl? ( dev-libs/libressl:0= )
245 - )
246 - systemd? ( sys-apps/systemd )
247 - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
248 -"
249 -DEPEND="${RDEPEND}
250 - dev-lang/perl
251 -"
252 -
253 -S="${WORKDIR}/otp-OTP-${PV}"
254 -
255 -PATCHES=(
256 - "${FILESDIR}/18.2.1-wx3.0.patch"
257 - "${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
258 -)
259 -
260 -SITEFILE=50"${PN}"-gentoo.el
261 -
262 -src_prepare() {
263 - default
264 -
265 - ./otp_build autoconf || die
266 -}
267 -
268 -src_configure() {
269 - use wxwidgets && setup-wxwidgets
270 -
271 - local myconf=(
272 - --disable-builtin-zlib
273 - $(use_enable hipe)
274 - $(use_enable kpoll kernel-poll)
275 - $(use_with java javac)
276 - $(use_enable sctp)
277 - $(use_with ssl ssl "${EPREFIX}"/usr)
278 - $(use_enable ssl dynamic-ssl-lib)
279 - $(use_enable systemd)
280 - $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
281 - )
282 - econf "${myconf[@]}"
283 -}
284 -
285 -src_compile() {
286 - emake
287 -
288 - if use emacs ; then
289 - pushd lib/tools/emacs &>/dev/null || die
290 - elisp-compile *.el
291 - popd &>/dev/null || die
292 - fi
293 -}
294 -
295 -extract_version() {
296 - local path="$1"
297 - local var_name="$2"
298 - sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
299 -}
300 -
301 -src_install() {
302 - local erl_libdir_rel="$(get_libdir)/erlang"
303 - local erl_libdir="/usr/${erl_libdir_rel}"
304 - local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
305 - local erl_erts_ver="$(extract_version erts VSN)"
306 - local my_manpath="/usr/share/${PN}/man"
307 -
308 - [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
309 - [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
310 -
311 - emake INSTALL_PREFIX="${D}" install
312 -
313 - if use doc ; then
314 - # Note: we explicitly install docs into:
315 - # /usr/share/doc/${PF}/{doc,lib,erts-*}
316 - # To maintain that layout we gather everything in 'html-docs'.
317 - # See bug #684376.
318 - mkdir html-docs || die
319 - mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
320 - local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
321 - docompress -x /usr/share/doc/${PF}
322 - else
323 - local DOCS=("README.md")
324 - fi
325 -
326 - einstalldocs
327 -
328 - dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
329 - dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
330 - dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
331 - dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
332 - dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
333 -
334 - ## Clean up the no longer needed files
335 - rm "${ED}/${erl_libdir}/Install" || die
336 -
337 - insinto "${my_manpath}"
338 - doins -r "${WORKDIR}"/man/*
339 - # extend MANPATH, so the normal man command can find it
340 - # see bug 189639
341 - newenvd - "90erlang" <<-_EOF_
342 - MANPATH="${my_manpath}"
343 - _EOF_
344 -
345 - if use emacs ; then
346 - elisp-install erlang lib/tools/emacs/*.{el,elc}
347 - sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
348 - "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
349 - elisp-site-file-install "${T}/${SITEFILE}"
350 - fi
351 -
352 - newinitd "${FILESDIR}"/epmd.init-r2 epmd
353 - newconfd "${FILESDIR}"/epmd.confd-r2 epmd
354 - use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
355 -}
356 -
357 -pkg_postinst() {
358 - use emacs && elisp-site-regen
359 -}
360 -
361 -pkg_postrm() {
362 - use emacs && elisp-site-regen
363 -}