Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/
Date: Tue, 27 Mar 2018 12:39:43
Message-Id: 1522154369.7fdd6af7210a226300d1c6f0e3abc75b6078e744.polynomial-c@gentoo
1 commit: 7fdd6af7210a226300d1c6f0e3abc75b6078e744
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 27 10:02:31 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 27 12:39:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fdd6af7
7
8 dev-libs/icu: Removed old.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-libs/icu/Manifest | 1 -
13 dev-libs/icu/icu-58.1-r1.ebuild | 157 ----------------------------------------
14 2 files changed, 158 deletions(-)
15
16 diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
17 index 195c9b4a57c..56b67c375a7 100644
18 --- a/dev-libs/icu/Manifest
19 +++ b/dev-libs/icu/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST icu4c-58_1-src.tgz 23366443 BLAKE2B 16f1c778d925893769c6e0f0901fe02e57289535a25edd8ee8c96bdf4551499ead2c75d0f7e733fb89d1670c5065f1e8013ebe14cbdc34881a67452e622cd990 SHA512 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155
22 DIST icu4c-58_2-src.tgz 23369902 BLAKE2B cdd2e02c3aba050f5b7f8b38c5a3731e3e5f1cc1403ef86a50908b95560ea3cf8a2d47119fa60cf34f22a8b65eaa2392fd5bcbd3bc48b3da541fe3d9bd7392c0 SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a
23 DIST icu4c-60_2-src.tgz 23317835 BLAKE2B dabd24a9317b44f6852c61c83e808c920d7d29f57d53a7450c68cdad5f84941f771db07fab1f5a16451d59c7aa2750e5a4d5b5fa9a904c43d131529b648263ea SHA512 8e718e66c13e7f25714404c46b91ed6305efff1df70c328be2ec743023a7719016dae72a5fa0a05d6f5599983590a2044ff72d3453a048d987ab546d0416d694
24 DIST icu4c-61_1-src.tgz 23400587 BLAKE2B 6c6c78b4169ad3e900ff8a8a8fc7286f3dfb692dc04cc88103804799d1ce1fc7d1a3a7b1fc1b379e92196dd5976cfea3fe014a09dc65d387f34f141eae5b9465 SHA512 4c37691246db802e4bae0c8c5f6ac1dac64c5753b607e539c5c1c36e361fcd9dd81bd1d3b5416c2960153b83700ccdb356412847d0506ab7782ae626ac0ffb94
25
26 diff --git a/dev-libs/icu/icu-58.1-r1.ebuild b/dev-libs/icu/icu-58.1-r1.ebuild
27 deleted file mode 100644
28 index 288af0e8b04..00000000000
29 --- a/dev-libs/icu/icu-58.1-r1.ebuild
30 +++ /dev/null
31 @@ -1,157 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal
38 -
39 -DESCRIPTION="International Components for Unicode"
40 -HOMEPAGE="http://www.icu-project.org/"
41 -SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
42 -
43 -LICENSE="BSD"
44 -
45 -SLOT="0/${PV}"
46 -
47 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
48 -IUSE="debug doc examples static-libs"
49 -
50 -DEPEND="
51 - virtual/pkgconfig
52 - doc? (
53 - app-doc/doxygen[dot]
54 - )
55 -"
56 -
57 -S="${WORKDIR}/${PN}/source"
58 -
59 -MULTILIB_CHOST_TOOLS=(
60 - /usr/bin/icu-config
61 -)
62 -
63 -PATCHES=(
64 - "${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
65 - "${FILESDIR}/${PN}-58.1-iterator.patch"
66 -)
67 -
68 -pkg_pretend() {
69 - if tc-is-gcc ; then
70 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
71 - || $(gcc-major-version) -lt 4 ]] ; then
72 - die "You need at least sys-devel/gcc-4.9"
73 - fi
74 - fi
75 -}
76 -
77 -src_prepare() {
78 - # apply patches
79 - default
80 -
81 - local variable
82 -
83 - # Disable renaming as it is stupid thing to do
84 - sed -i \
85 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
86 - common/unicode/uconfig.h || die
87 -
88 - # Fix linking of icudata
89 - sed -i \
90 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
91 - config/mh-linux || die
92 -
93 - # Append doxygen configuration to configure
94 - sed -i \
95 - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
96 - configure.ac || die
97 -
98 - eautoreconf
99 -}
100 -
101 -src_configure() {
102 - # Use C++14
103 - append-cxxflags -std=c++14
104 -
105 - if tc-is-gcc ; then
106 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \
107 - || $(gcc-major-version) -lt 4 ]] ; then
108 - die "You need at least sys-devel/gcc-4.9"
109 - fi
110 - fi
111 -
112 - if tc-is-cross-compiler; then
113 - mkdir "${WORKDIR}"/host || die
114 - pushd "${WORKDIR}"/host >/dev/null || die
115 -
116 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
117 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
118 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
119 - "${S}"/configure --disable-renaming --disable-debug \
120 - --disable-samples --enable-static || die
121 - emake
122 -
123 - popd >/dev/null || die
124 - fi
125 -
126 - multilib-minimal_src_configure
127 -}
128 -
129 -multilib_src_configure() {
130 - local myeconfargs=(
131 - --disable-renaming
132 - --disable-samples
133 - --disable-layoutex
134 - $(use_enable debug)
135 - $(use_enable static-libs static)
136 - )
137 -
138 - multilib_is_native_abi && myeconfargs+=(
139 - $(use_enable examples samples)
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 - ECONF_SOURCE=${S} \
149 - econf "${myeconfargs[@]}"
150 -}
151 -
152 -multilib_src_compile() {
153 - default
154 -
155 - if multilib_is_native_abi && use doc; then
156 - doxygen -u Doxyfile || die
157 - doxygen Doxyfile || die
158 - fi
159 -}
160 -
161 -multilib_src_test() {
162 - # INTLTEST_OPTS: intltest options
163 - # -e: Exhaustive testing
164 - # -l: Reporting of memory leaks
165 - # -v: Increased verbosity
166 - # IOTEST_OPTS: iotest options
167 - # -e: Exhaustive testing
168 - # -v: Increased verbosity
169 - # CINTLTST_OPTS: cintltst options
170 - # -e: Exhaustive testing
171 - # -v: Increased verbosity
172 - emake -j1 VERBOSE="1" check
173 -}
174 -
175 -multilib_src_install() {
176 - default
177 -
178 - if multilib_is_native_abi && use doc; then
179 - docinto html
180 - dodoc -r doc/html/*
181 - fi
182 -}
183 -
184 -multilib_src_install_all() {
185 - einstalldocs
186 - docinto html
187 - dodoc ../readme.html
188 -}