Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/
Date: Wed, 21 Feb 2018 22:55:27
Message-Id: 1519253717.ef562e4fd5cc5bfc573d958f0f5ec15fbd25f484.dilfridge@gentoo
1 commit: ef562e4fd5cc5bfc573d958f0f5ec15fbd25f484
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 21 22:54:56 2018 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 21 22:55:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef562e4f
7
8 dev-libs/icu: Remove old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-libs/icu/Manifest | 2 -
13 dev-libs/icu/icu-59.1.ebuild | 157 -----------------------------------------
14 dev-libs/icu/icu-60.1.ebuild | 163 -------------------------------------------
15 3 files changed, 322 deletions(-)
16
17 diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
18 index 4122b75d08f..a44787b16f8 100644
19 --- a/dev-libs/icu/Manifest
20 +++ b/dev-libs/icu/Manifest
21 @@ -1,5 +1,3 @@
22 DIST icu4c-58_1-src.tgz 23366443 BLAKE2B 16f1c778d925893769c6e0f0901fe02e57289535a25edd8ee8c96bdf4551499ead2c75d0f7e733fb89d1670c5065f1e8013ebe14cbdc34881a67452e622cd990 SHA512 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155
23 DIST icu4c-58_2-src.tgz 23369902 BLAKE2B cdd2e02c3aba050f5b7f8b38c5a3731e3e5f1cc1403ef86a50908b95560ea3cf8a2d47119fa60cf34f22a8b65eaa2392fd5bcbd3bc48b3da541fe3d9bd7392c0 SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a
24 -DIST icu4c-59_1-src.tgz 22706578 BLAKE2B 88ec0b5a174b7f854813c66009aba695b61ec4887b845f092f5b5bf401c416cb2920c596f3f33fee4751bb8ea576a37e991fb18bc845142b322e985224b95879 SHA512 9348aa68d72a74cd1f26588c30c80eee1b48800a26930d7eb0749390fd65f7930ee8843058b6a6dd5f265e79054fef661e807ded16a1ad691cbc5ebc5ab944c4
25 -DIST icu4c-60_1-src.tgz 23296064 BLAKE2B 4f90c1f4f00b686d2632429fbaa6a6ec3d977e414f8d00cf82a525a1504c9d8c9b1a19458b495e5847abbcfff933038752f96d6bd165d206582f8ec1b77fff40 SHA512 a6798f70add1b3bac2197a49e09a0bb636279af7019ce572f63a30ab713e09657ee9d9b20aac7ea806fbb84667ca2eca981411e5053b47c3c705aa496a669233
26 DIST icu4c-60_2-src.tgz 23317835 BLAKE2B dabd24a9317b44f6852c61c83e808c920d7d29f57d53a7450c68cdad5f84941f771db07fab1f5a16451d59c7aa2750e5a4d5b5fa9a904c43d131529b648263ea SHA512 8e718e66c13e7f25714404c46b91ed6305efff1df70c328be2ec743023a7719016dae72a5fa0a05d6f5599983590a2044ff72d3453a048d987ab546d0416d694
27
28 diff --git a/dev-libs/icu/icu-59.1.ebuild b/dev-libs/icu/icu-59.1.ebuild
29 deleted file mode 100644
30 index ed8bc1c9d95..00000000000
31 --- a/dev-libs/icu/icu-59.1.ebuild
32 +++ /dev/null
33 @@ -1,157 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit eutils 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 ~amd64-fbsd ~x86-fbsd"
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-glibc226.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 - )
139 -
140 - multilib_is_native_abi && myeconfargs+=(
141 - $(use_enable examples samples)
142 - )
143 - tc-is-cross-compiler && myeconfargs+=(
144 - --with-cross-build="${WORKDIR}"/host
145 - )
146 -
147 - # icu tries to use clang by default
148 - tc-export CC CXX
149 -
150 - ECONF_SOURCE=${S} \
151 - econf "${myeconfargs[@]}"
152 -}
153 -
154 -multilib_src_compile() {
155 - default
156 -
157 - if multilib_is_native_abi && use doc; then
158 - doxygen -u Doxyfile || die
159 - doxygen Doxyfile || die
160 - fi
161 -}
162 -
163 -multilib_src_test() {
164 - # INTLTEST_OPTS: intltest options
165 - # -e: Exhaustive testing
166 - # -l: Reporting of memory leaks
167 - # -v: Increased verbosity
168 - # IOTEST_OPTS: iotest options
169 - # -e: Exhaustive testing
170 - # -v: Increased verbosity
171 - # CINTLTST_OPTS: cintltst options
172 - # -e: Exhaustive testing
173 - # -v: Increased verbosity
174 - emake -j1 VERBOSE="1" check
175 -}
176 -
177 -multilib_src_install() {
178 - default
179 -
180 - if multilib_is_native_abi && use doc; then
181 - docinto html
182 - dodoc -r doc/html/*
183 - fi
184 -}
185 -
186 -multilib_src_install_all() {
187 - einstalldocs
188 - docinto html
189 - dodoc ../readme.html
190 -}
191
192 diff --git a/dev-libs/icu/icu-60.1.ebuild b/dev-libs/icu/icu-60.1.ebuild
193 deleted file mode 100644
194 index 773d5b35d4b..00000000000
195 --- a/dev-libs/icu/icu-60.1.ebuild
196 +++ /dev/null
197 @@ -1,163 +0,0 @@
198 -# Copyright 1999-2017 Gentoo Foundation
199 -# Distributed under the terms of the GNU General Public License v2
200 -
201 -EAPI=6
202 -
203 -inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal
204 -
205 -DESCRIPTION="International Components for Unicode"
206 -HOMEPAGE="http://www.icu-project.org/"
207 -SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
208 -
209 -LICENSE="BSD"
210 -
211 -SLOT="0/${PV}"
212 -
213 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
214 -IUSE="debug doc examples static-libs"
215 -
216 -DEPEND="
217 - virtual/pkgconfig
218 - doc? (
219 - app-doc/doxygen[dot]
220 - )
221 -"
222 -
223 -S="${WORKDIR}/${PN}/source"
224 -
225 -MULTILIB_CHOST_TOOLS=(
226 - /usr/bin/icu-config
227 -)
228 -
229 -PATCHES=(
230 - "${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
231 - "${FILESDIR}/${PN}-58.2-darwin.patch"
232 -)
233 -
234 -pkg_pretend() {
235 - if tc-is-gcc ; then
236 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
237 - || $(gcc-major-version) -lt 4 ]] ; then
238 - die "You need at least sys-devel/gcc-4.9"
239 - fi
240 - fi
241 -}
242 -
243 -src_prepare() {
244 - # apply patches
245 - default
246 -
247 - local variable
248 -
249 - # Disable renaming as it is stupid thing to do
250 - sed -i \
251 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
252 - common/unicode/uconfig.h || die
253 -
254 - # Fix linking of icudata
255 - sed -i \
256 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
257 - config/mh-linux || die
258 -
259 - # Append doxygen configuration to configure
260 - sed -i \
261 - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
262 - configure.ac || die
263 -
264 - eautoreconf
265 -}
266 -
267 -src_configure() {
268 - # Use C++14
269 - append-cxxflags -std=c++14
270 -
271 - if tc-is-gcc ; then
272 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
273 - || $(gcc-major-version) -lt 4 ]] ; then
274 - die "You need at least sys-devel/gcc-4.9"
275 - fi
276 - fi
277 -
278 - if tc-is-cross-compiler; then
279 - mkdir "${WORKDIR}"/host || die
280 - pushd "${WORKDIR}"/host >/dev/null || die
281 -
282 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
283 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
284 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
285 - "${S}"/configure --disable-renaming --disable-debug \
286 - --disable-samples --enable-static || die
287 - emake
288 -
289 - popd >/dev/null || die
290 - fi
291 -
292 - multilib-minimal_src_configure
293 -}
294 -
295 -multilib_src_configure() {
296 - local myeconfargs=(
297 - --disable-renaming
298 - --disable-samples
299 - --disable-layoutex
300 - $(use_enable debug)
301 - $(use_enable static-libs static)
302 - )
303 -
304 - multilib_is_native_abi && myeconfargs+=(
305 - $(use_enable examples samples)
306 - )
307 - tc-is-cross-compiler && myeconfargs+=(
308 - --with-cross-build="${WORKDIR}"/host
309 - )
310 -
311 - # icu tries to use clang by default
312 - tc-export CC CXX
313 -
314 - # make sure we configure with the same shell as we run icu-config
315 - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
316 - export CONFIG_SHELL=${EPREFIX}/bin/sh
317 - # probably have no /bin/sh in prefix-chain
318 - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL=${BASH}
319 -
320 - ECONF_SOURCE=${S} \
321 - econf "${myeconfargs[@]}"
322 -}
323 -
324 -multilib_src_compile() {
325 - default
326 -
327 - if multilib_is_native_abi && use doc; then
328 - doxygen -u Doxyfile || die
329 - doxygen Doxyfile || die
330 - fi
331 -}
332 -
333 -multilib_src_test() {
334 - # INTLTEST_OPTS: intltest options
335 - # -e: Exhaustive testing
336 - # -l: Reporting of memory leaks
337 - # -v: Increased verbosity
338 - # IOTEST_OPTS: iotest options
339 - # -e: Exhaustive testing
340 - # -v: Increased verbosity
341 - # CINTLTST_OPTS: cintltst options
342 - # -e: Exhaustive testing
343 - # -v: Increased verbosity
344 - emake -j1 VERBOSE="1" check
345 -}
346 -
347 -multilib_src_install() {
348 - default
349 -
350 - if multilib_is_native_abi && use doc; then
351 - docinto html
352 - dodoc -r doc/html/*
353 - fi
354 -}
355 -
356 -multilib_src_install_all() {
357 - einstalldocs
358 - docinto html
359 - dodoc ../readme.html
360 -}