1 |
commit: f06f1d7a8d16f0c9730128c56f2a8e22e88b42a3 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 28 18:16:02 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 28 18:16:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06f1d7a |
7 |
|
8 |
dev-lang/erlang: drop old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/749345 |
11 |
Bug: https://bugs.gentoo.org/765796 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
dev-lang/erlang/Manifest | 3 - |
16 |
dev-lang/erlang/erlang-23.0.4.ebuild | 158 ----------------------------------- |
17 |
2 files changed, 161 deletions(-) |
18 |
|
19 |
diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest |
20 |
index 55e8b5113b3..844152f2079 100644 |
21 |
--- a/dev-lang/erlang/Manifest |
22 |
+++ b/dev-lang/erlang/Manifest |
23 |
@@ -1,9 +1,6 @@ |
24 |
-DIST erlang-23.0.4.tar.gz 56394805 BLAKE2B 10a4e9e3084ad2d1bb10fa736d86eb03fa6b249f83b9d06bfef4c37f99ad86dd1415c2fbaa1524cddaf57dd228d25f388fa9fe9f5b4a03ba7477080e11020fb1 SHA512 53d4b7a5e76113bb3a9695a266e58dbebb57887b1eea4e8acb56bb85d194295231d739719d526dfc6d1f0bf745d7f059fdf5ec9dc79859f5b16a75c4d0a6b348 |
25 |
DIST erlang-23.2.7.tar.gz 56600356 BLAKE2B 84daf8810716ac02b50527805b834f9f2ae83fc7ebd89a22e4cba34133a52347f53a72ba65614b492bf1932d0dc47eb68c9ce8731cdfaeecdf57b9f20bde32e8 SHA512 1e94b641644edb1edc3d15679222dd5d198abf1cae6daa4b91304317f8df21514029971f208767396625c0a0be7107c357c9ef80974c9865113a760aa2655220 |
26 |
DIST erlang-23.3.1.tar.gz 56654422 BLAKE2B b1ccd870d4a47f12d1a65b424d6c6b0f59a4654c0779c595fb28fdc2d3e179bb9b12d2473770b239b65665b2f6a3281d239f9fb3d6b86548df3ee69fce8fe5ed SHA512 03d4be9b25a14359e9f8db52d8e7d8edff1e8c53686a189caae15373c7e15d03f05e1138c549b8b41b8e6b7c55ab154cea47356f6fe79f7b72d5fb4ce759c4b0 |
27 |
-DIST erlang_doc_html_23.0.tar.gz 36238699 BLAKE2B bce5fb1d766d3a795728cf7c00529129690f52e5dbe7363095cb7e63d5331a4dfc05c2042d24f10c7f3facbd187284aa323a92c0ed7515c1750aee4cd890fbd4 SHA512 bd0b1adf8639674d31152024e1351105249c6e6f93f28362e9e4b66ce6daadbe5eef5917a5889c926130e81bd000cfc44895ebaa309bf9a0c1c125713b715927 |
28 |
DIST erlang_doc_html_23.2.tar.gz 36537148 BLAKE2B b19d3fb5836b50512db6913ccb9116bc06ef4677c9514db89714ac72a9e7569b2c52612c357ccbf9a12610000885cbc8a43cc17f80c533a3c65af89c1b592ba6 SHA512 0d334dfe46ecffd6ff720d176c4514e2d49ba1b5feccd80f8392a8335100a6c289207431d2c0da02043c923de083290f9fd23726a1d1481508acdd7596f67ea4 |
29 |
DIST erlang_doc_html_23.3.tar.gz 36224657 BLAKE2B 7e2a3e16f4cfa0f15c01074740e02af7a45b480b4a94e764463717658ab7e5d0281f928c3ec585582b10168645e3e06cfe72cf6a0ba1b88f539b80f2b7ad99be SHA512 8be4aae46839239604b875b39339e7b6b6c677c099b3d749d5f1041c4508c1c3b4aa8136a93df12b1e5cb6333ef907276f5965c9726ed2b9e77a6043c8ef53b1 |
30 |
-DIST erlang_doc_man_23.0.tar.gz 1383486 BLAKE2B 63a9989c26797fe07fbd0ccca0d8425d94bc60a86fa93b5332c8d1f3e12a0071d9e6d4759be73bf44bf35dd14723b9e6707a84ba834e1775bc28aeec1edbe168 SHA512 81575ce7b267f5bb48bd844808e8edd4e373640bbc481372b288602eb9d3c9917e6c7c040c035b63a2f6edf437c3d826d6afdf5801765b51d9edd4a3b2a5b16f |
31 |
DIST erlang_doc_man_23.2.tar.gz 1386417 BLAKE2B 91fb2646461330c2f3793e7819e4c77ba9259366098b710fd102ffbcbcf38fa84ad720613313e3c59c1d419aaddd5a1a85d26c5d41a71d6692d428a494f57012 SHA512 464fa2c3608a6c096a241e5fc2cee710ef51394b169e3b3ce3ab5f69d847437c54780d4afc1a799d13f88ea88ac64056b19bff4d927e1e6bbe54a773b0ccd89d |
32 |
DIST erlang_doc_man_23.3.tar.gz 1456501 BLAKE2B 414bedee0e316d97b26d9d6418b799a9434a22e9980e7d3a83e2478d184d63d1633c0e10d0e180d929a3cacd82b4d703be86cbc8e99996037f6b37ea122f7a8c SHA512 6c661c210ffec4752afe624fa46700a0f62cc6589b74b859ab1dfde77d289e992988ac8744f7b4126d7512cd6d0aab3321f710a6324552b259bd7acd5b54a05e |
33 |
|
34 |
diff --git a/dev-lang/erlang/erlang-23.0.4.ebuild b/dev-lang/erlang/erlang-23.0.4.ebuild |
35 |
deleted file mode 100644 |
36 |
index 15f8ee9a7d1..00000000000 |
37 |
--- a/dev-lang/erlang/erlang-23.0.4.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,158 +0,0 @@ |
40 |
-# Copyright 1999-2021 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=7 |
44 |
-WX_GTK_VER="3.0-gtk3" |
45 |
- |
46 |
-inherit elisp-common java-pkg-opt-2 systemd wxwidgets |
47 |
- |
48 |
-# NOTE: If you need symlinks for binaries please tell maintainers or |
49 |
-# open up a bug to let it be created. |
50 |
- |
51 |
-UPSTREAM_V="$(ver_cut 1-2)" |
52 |
- |
53 |
-DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)" |
54 |
-HOMEPAGE="https://www.erlang.org/" |
55 |
-SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz |
56 |
- http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz |
57 |
- doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )" |
58 |
- |
59 |
-LICENSE="Apache-2.0" |
60 |
-# We use this subslot because Compiled HiPE Code can be loaded on the exact |
61 |
-# same build of ERTS that was used when compiling the code. See |
62 |
-# http://erlang.org/doc/system_principles/misc.html for more information. |
63 |
-SLOT="0/${PV}" |
64 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
65 |
-IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" |
66 |
- |
67 |
-RDEPEND=" |
68 |
- acct-group/epmd |
69 |
- acct-user/epmd |
70 |
- sys-libs/ncurses:0 |
71 |
- sys-libs/zlib |
72 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
73 |
- java? ( >=virtual/jdk-1.8:* ) |
74 |
- odbc? ( dev-db/unixODBC ) |
75 |
- sctp? ( net-misc/lksctp-tools ) |
76 |
- ssl? ( |
77 |
- !libressl? ( >=dev-libs/openssl-0.9.7d:0= ) |
78 |
- libressl? ( dev-libs/libressl:0= ) |
79 |
- ) |
80 |
- systemd? ( sys-apps/systemd ) |
81 |
- wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) |
82 |
-" |
83 |
-DEPEND="${RDEPEND} |
84 |
- dev-lang/perl |
85 |
-" |
86 |
- |
87 |
-S="${WORKDIR}/otp-OTP-${PV}" |
88 |
- |
89 |
-PATCHES=( |
90 |
- "${FILESDIR}/18.2.1-wx3.0.patch" |
91 |
- "${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch" |
92 |
-) |
93 |
- |
94 |
-SITEFILE=50"${PN}"-gentoo.el |
95 |
- |
96 |
-src_prepare() { |
97 |
- default |
98 |
- |
99 |
- ./otp_build autoconf || die |
100 |
-} |
101 |
- |
102 |
-src_configure() { |
103 |
- use wxwidgets && setup-wxwidgets |
104 |
- |
105 |
- local myconf=( |
106 |
- --disable-builtin-zlib |
107 |
- $(use_enable hipe) |
108 |
- $(use_enable kpoll kernel-poll) |
109 |
- $(use_with java javac) |
110 |
- $(use_enable sctp) |
111 |
- $(use_with ssl ssl "${EPREFIX}"/usr) |
112 |
- $(use_enable ssl dynamic-ssl-lib) |
113 |
- $(use_enable systemd) |
114 |
- $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null") |
115 |
- ) |
116 |
- econf "${myconf[@]}" |
117 |
-} |
118 |
- |
119 |
-src_compile() { |
120 |
- emake |
121 |
- |
122 |
- if use emacs ; then |
123 |
- pushd lib/tools/emacs &>/dev/null || die |
124 |
- elisp-compile *.el |
125 |
- popd &>/dev/null || die |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-extract_version() { |
130 |
- local path="$1" |
131 |
- local var_name="$2" |
132 |
- sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed" |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- local erl_libdir_rel="$(get_libdir)/erlang" |
137 |
- local erl_libdir="/usr/${erl_libdir_rel}" |
138 |
- local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)" |
139 |
- local erl_erts_ver="$(extract_version erts VSN)" |
140 |
- local my_manpath="/usr/share/${PN}/man" |
141 |
- |
142 |
- [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version" |
143 |
- [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version" |
144 |
- |
145 |
- emake INSTALL_PREFIX="${D}" install |
146 |
- |
147 |
- if use doc ; then |
148 |
- # Note: we explicitly install docs into: |
149 |
- # /usr/share/doc/${PF}/{doc,lib,erts-*} |
150 |
- # To maintain that layout we gather everything in 'html-docs'. |
151 |
- # See bug #684376. |
152 |
- mkdir html-docs || die |
153 |
- mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die |
154 |
- local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. ) |
155 |
- docompress -x /usr/share/doc/${PF} |
156 |
- else |
157 |
- local DOCS=("README.md") |
158 |
- fi |
159 |
- |
160 |
- einstalldocs |
161 |
- |
162 |
- dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl |
163 |
- dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc |
164 |
- dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript |
165 |
- dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call |
166 |
- dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp |
167 |
- |
168 |
- ## Clean up the no longer needed files |
169 |
- rm "${ED}/${erl_libdir}/Install" || die |
170 |
- |
171 |
- insinto "${my_manpath}" |
172 |
- doins -r "${WORKDIR}"/man/* |
173 |
- # extend MANPATH, so the normal man command can find it |
174 |
- # see bug 189639 |
175 |
- newenvd - "90erlang" <<-_EOF_ |
176 |
- MANPATH="${my_manpath}" |
177 |
- _EOF_ |
178 |
- |
179 |
- if use emacs ; then |
180 |
- elisp-install erlang lib/tools/emacs/*.{el,elc} |
181 |
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \ |
182 |
- "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die |
183 |
- elisp-site-file-install "${T}/${SITEFILE}" |
184 |
- fi |
185 |
- |
186 |
- newinitd "${FILESDIR}"/epmd.init-r2 epmd |
187 |
- newconfd "${FILESDIR}"/epmd.confd-r2 epmd |
188 |
- use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service |
189 |
-} |
190 |
- |
191 |
-pkg_postinst() { |
192 |
- use emacs && elisp-site-regen |
193 |
-} |
194 |
- |
195 |
-pkg_postrm() { |
196 |
- use emacs && elisp-site-regen |
197 |
-} |