Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/
Date: Tue, 08 Jan 2019 20:05:43
Message-Id: 1546977775.2dbd1c11389497f8f9a82df45daa510e8250f145.asturm@gentoo
1 commit: 2dbd1c11389497f8f9a82df45daa510e8250f145
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 8 20:02:44 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 8 20:02:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbd1c11
7
8 dev-libs/icu: Drop 62.1 and 63.1-r0
9
10 Package-Manager: Portage-2.3.54, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/icu/Manifest | 1 -
14 dev-libs/icu/icu-62.1.ebuild | 160 ------------------------------------------
15 dev-libs/icu/icu-63.1.ebuild | 162 -------------------------------------------
16 3 files changed, 323 deletions(-)
17
18 diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
19 index 097e9794cef..bc938ac04a4 100644
20 --- a/dev-libs/icu/Manifest
21 +++ b/dev-libs/icu/Manifest
22 @@ -1,4 +1,3 @@
23 DIST icu4c-58_2-src.tgz 23369902 BLAKE2B cdd2e02c3aba050f5b7f8b38c5a3731e3e5f1cc1403ef86a50908b95560ea3cf8a2d47119fa60cf34f22a8b65eaa2392fd5bcbd3bc48b3da541fe3d9bd7392c0 SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a
24 DIST icu4c-60_2-src.tgz 23317835 BLAKE2B dabd24a9317b44f6852c61c83e808c920d7d29f57d53a7450c68cdad5f84941f771db07fab1f5a16451d59c7aa2750e5a4d5b5fa9a904c43d131529b648263ea SHA512 8e718e66c13e7f25714404c46b91ed6305efff1df70c328be2ec743023a7719016dae72a5fa0a05d6f5599983590a2044ff72d3453a048d987ab546d0416d694
25 -DIST icu4c-62_1-src.tgz 23468750 BLAKE2B c0b665af53a494fc064425e6b3e66ae11d31509f4edc42268b12b85ece5ea635ebc76a8f3ab65a49b74a849a67ffd526e15e6d1b5b07e13c7f94cc94bef1d31c SHA512 8295f2754fb6907e2cc8f515dccca05530963b544e89a2b8e323cd0ddfdbbe0c9eba8b367c1dbc04d7bb906b66b1003fd545ca05298939747c832c9d4431cf2a
26 DIST icu4c-63_1-src.tgz 23746939 BLAKE2B 5a665554506ff705c83c7a03a1b5598b1a48afbe1c6caaccd5a2d7d5aae16b3e18d7bc65ed552fc4df86248a2f13962438f19bca6c2a579843204c7dc52e6278 SHA512 9ab407ed840a00cdda7470dcc4c40299a125ad246ae4d019c4b1ede54781157fd63af015a8228cd95dbc47e4d15a0932b2c657489046a19788e5e8266eac079c
27
28 diff --git a/dev-libs/icu/icu-62.1.ebuild b/dev-libs/icu/icu-62.1.ebuild
29 deleted file mode 100644
30 index 6d1550b32d6..00000000000
31 --- a/dev-libs/icu/icu-62.1.ebuild
32 +++ /dev/null
33 @@ -1,160 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit flag-o-matic toolchain-funcs autotools multilib-minimal
40 -
41 -DESCRIPTION="International Components for Unicode"
42 -HOMEPAGE="http://www.icu-project.org/"
43 -SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
44 -
45 -LICENSE="BSD"
46 -
47 -SLOT="0/${PV}"
48 -
49 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
50 -IUSE="debug doc examples static-libs"
51 -
52 -DEPEND="
53 - virtual/pkgconfig
54 - doc? (
55 - app-doc/doxygen[dot]
56 - )
57 -"
58 -
59 -S="${WORKDIR}/${PN}/source"
60 -
61 -MULTILIB_CHOST_TOOLS=(
62 - /usr/bin/icu-config
63 -)
64 -
65 -PATCHES=(
66 - "${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
67 - "${FILESDIR}/${PN}-58.2-darwin.patch"
68 -)
69 -
70 -pkg_pretend() {
71 - if tc-is-gcc ; then
72 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
73 - || $(gcc-major-version) -lt 4 ]] ; then
74 - die "You need at least sys-devel/gcc-4.9"
75 - fi
76 - fi
77 -}
78 -
79 -src_prepare() {
80 - # apply patches
81 - default
82 -
83 - local variable
84 -
85 - # Disable renaming as it is stupid thing to do
86 - sed -i \
87 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
88 - common/unicode/uconfig.h || die
89 -
90 - # Fix linking of icudata
91 - sed -i \
92 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
93 - config/mh-linux || die
94 -
95 - # Append doxygen configuration to configure
96 - sed -i \
97 - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
98 - configure.ac || die
99 -
100 - eautoreconf
101 -}
102 -
103 -src_configure() {
104 - # Use C++14
105 - append-cxxflags -std=c++14
106 -
107 - if tc-is-gcc ; then
108 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
109 - || $(gcc-major-version) -lt 4 ]] ; then
110 - die "You need at least sys-devel/gcc-4.9"
111 - fi
112 - fi
113 -
114 - if tc-is-cross-compiler; then
115 - mkdir "${WORKDIR}"/host || die
116 - pushd "${WORKDIR}"/host >/dev/null || die
117 -
118 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
119 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
120 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
121 - "${S}"/configure --disable-renaming --disable-debug \
122 - --disable-samples --enable-static || die
123 - emake
124 -
125 - popd >/dev/null || die
126 - fi
127 -
128 - multilib-minimal_src_configure
129 -}
130 -
131 -multilib_src_configure() {
132 - local myeconfargs=(
133 - --disable-renaming
134 - --disable-samples
135 - --disable-layoutex
136 - $(use_enable debug)
137 - $(use_enable static-libs static)
138 - $(multilib_native_use_enable examples samples)
139 - )
140 -
141 - tc-is-cross-compiler && myeconfargs+=(
142 - --with-cross-build="${WORKDIR}"/host
143 - )
144 -
145 - # icu tries to use clang by default
146 - tc-export CC CXX
147 -
148 - # make sure we configure with the same shell as we run icu-config
149 - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
150 - export CONFIG_SHELL="${EPREFIX}/bin/sh"
151 - # probably have no /bin/sh in prefix-chain
152 - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
153 -
154 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
155 -}
156 -
157 -multilib_src_compile() {
158 - default
159 -
160 - if multilib_is_native_abi && use doc; then
161 - doxygen -u Doxyfile || die
162 - doxygen Doxyfile || die
163 - fi
164 -}
165 -
166 -multilib_src_test() {
167 - # INTLTEST_OPTS: intltest options
168 - # -e: Exhaustive testing
169 - # -l: Reporting of memory leaks
170 - # -v: Increased verbosity
171 - # IOTEST_OPTS: iotest options
172 - # -e: Exhaustive testing
173 - # -v: Increased verbosity
174 - # CINTLTST_OPTS: cintltst options
175 - # -e: Exhaustive testing
176 - # -v: Increased verbosity
177 - emake -j1 VERBOSE="1" check
178 -}
179 -
180 -multilib_src_install() {
181 - default
182 -
183 - if multilib_is_native_abi && use doc; then
184 - docinto html
185 - dodoc -r doc/html/*
186 - fi
187 -}
188 -
189 -multilib_src_install_all() {
190 - einstalldocs
191 - docinto html
192 - dodoc ../readme.html
193 -}
194
195 diff --git a/dev-libs/icu/icu-63.1.ebuild b/dev-libs/icu/icu-63.1.ebuild
196 deleted file mode 100644
197 index 1f5b0bbb21f..00000000000
198 --- a/dev-libs/icu/icu-63.1.ebuild
199 +++ /dev/null
200 @@ -1,162 +0,0 @@
201 -# Copyright 1999-2018 Gentoo Authors
202 -# Distributed under the terms of the GNU General Public License v2
203 -
204 -EAPI=7
205 -
206 -inherit flag-o-matic toolchain-funcs autotools multilib-minimal
207 -
208 -DESCRIPTION="International Components for Unicode"
209 -HOMEPAGE="http://www.icu-project.org/"
210 -SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
211 -
212 -LICENSE="BSD"
213 -
214 -SLOT="0/${PV}"
215 -
216 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
217 -IUSE="debug doc examples static-libs"
218 -
219 -DEPEND="
220 - doc? (
221 - app-doc/doxygen[dot]
222 - )
223 -"
224 -BDEPEND="
225 - virtual/pkgconfig
226 -"
227 -
228 -S="${WORKDIR}/${PN}/source"
229 -
230 -MULTILIB_CHOST_TOOLS=(
231 - /usr/bin/icu-config
232 -)
233 -
234 -PATCHES=(
235 - "${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
236 - "${FILESDIR}/${PN}-58.2-darwin.patch"
237 -)
238 -
239 -pkg_pretend() {
240 - if tc-is-gcc ; then
241 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
242 - || $(gcc-major-version) -lt 4 ]] ; then
243 - die "You need at least sys-devel/gcc-4.9"
244 - fi
245 - fi
246 -}
247 -
248 -src_prepare() {
249 - # apply patches
250 - default
251 -
252 - local variable
253 -
254 - # Disable renaming as it is stupid thing to do
255 - sed -i \
256 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
257 - common/unicode/uconfig.h || die
258 -
259 - # Fix linking of icudata
260 - sed -i \
261 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
262 - config/mh-linux || die
263 -
264 - # Append doxygen configuration to configure
265 - sed -i \
266 - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
267 - configure.ac || die
268 -
269 - eautoreconf
270 -}
271 -
272 -src_configure() {
273 - # Use C++14
274 - append-cxxflags -std=c++14
275 -
276 - if tc-is-gcc ; then
277 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
278 - || $(gcc-major-version) -lt 4 ]] ; then
279 - die "You need at least sys-devel/gcc-4.9"
280 - fi
281 - fi
282 -
283 - if tc-is-cross-compiler; then
284 - mkdir "${WORKDIR}"/host || die
285 - pushd "${WORKDIR}"/host >/dev/null || die
286 -
287 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
288 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
289 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
290 - "${S}"/configure --disable-renaming --disable-debug \
291 - --disable-samples --enable-static || die
292 - emake
293 -
294 - popd >/dev/null || die
295 - fi
296 -
297 - multilib-minimal_src_configure
298 -}
299 -
300 -multilib_src_configure() {
301 - local myeconfargs=(
302 - --disable-renaming
303 - --disable-samples
304 - --disable-layoutex
305 - $(use_enable debug)
306 - $(use_enable static-libs static)
307 - $(multilib_native_use_enable examples samples)
308 - )
309 -
310 - tc-is-cross-compiler && myeconfargs+=(
311 - --with-cross-build="${WORKDIR}"/host
312 - )
313 -
314 - # icu tries to use clang by default
315 - tc-export CC CXX
316 -
317 - # make sure we configure with the same shell as we run icu-config
318 - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
319 - export CONFIG_SHELL="${EPREFIX}/bin/sh"
320 - # probably have no /bin/sh in prefix-chain
321 - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
322 -
323 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
324 -}
325 -
326 -multilib_src_compile() {
327 - default
328 -
329 - if multilib_is_native_abi && use doc; then
330 - doxygen -u Doxyfile || die
331 - doxygen Doxyfile || die
332 - fi
333 -}
334 -
335 -multilib_src_test() {
336 - # INTLTEST_OPTS: intltest options
337 - # -e: Exhaustive testing
338 - # -l: Reporting of memory leaks
339 - # -v: Increased verbosity
340 - # IOTEST_OPTS: iotest options
341 - # -e: Exhaustive testing
342 - # -v: Increased verbosity
343 - # CINTLTST_OPTS: cintltst options
344 - # -e: Exhaustive testing
345 - # -v: Increased verbosity
346 - emake -j1 VERBOSE="1" check
347 -}
348 -
349 -multilib_src_install() {
350 - default
351 -
352 - if multilib_is_native_abi && use doc; then
353 - docinto html
354 - dodoc -r doc/html/*
355 - fi
356 -}
357 -
358 -multilib_src_install_all() {
359 - einstalldocs
360 - docinto html
361 - dodoc ../readme.html
362 -}