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