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: Wed, 17 Oct 2018 08:19:50
Message-Id: 1539764346.f2b016376c3fd824adb467f1e8b301b169b7166b.polynomial-c@gentoo
1 commit: f2b016376c3fd824adb467f1e8b301b169b7166b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 08:19:06 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 08:19:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b01637
7
8 dev-libs/icu: Removed old.
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-libs/icu/Manifest | 1 -
14 dev-libs/icu/icu-61.1.ebuild | 163 -------------------------------------------
15 2 files changed, 164 deletions(-)
16
17 diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
18 index c6761262b58..097e9794cef 100644
19 --- a/dev-libs/icu/Manifest
20 +++ b/dev-libs/icu/Manifest
21 @@ -1,5 +1,4 @@
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 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-61.1.ebuild b/dev-libs/icu/icu-61.1.ebuild
29 deleted file mode 100644
30 index bebf5f97841..00000000000
31 --- a/dev-libs/icu/icu-61.1.ebuild
32 +++ /dev/null
33 @@ -1,163 +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 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 ~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 - )
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 - # make sure we configure with the same shell as we run icu-config
151 - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
152 - export CONFIG_SHELL=${EPREFIX}/bin/sh
153 - # probably have no /bin/sh in prefix-chain
154 - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL=${BASH}
155 -
156 - ECONF_SOURCE=${S} \
157 - econf "${myeconfargs[@]}"
158 -}
159 -
160 -multilib_src_compile() {
161 - default
162 -
163 - if multilib_is_native_abi && use doc; then
164 - doxygen -u Doxyfile || die
165 - doxygen Doxyfile || die
166 - fi
167 -}
168 -
169 -multilib_src_test() {
170 - # INTLTEST_OPTS: intltest options
171 - # -e: Exhaustive testing
172 - # -l: Reporting of memory leaks
173 - # -v: Increased verbosity
174 - # IOTEST_OPTS: iotest options
175 - # -e: Exhaustive testing
176 - # -v: Increased verbosity
177 - # CINTLTST_OPTS: cintltst options
178 - # -e: Exhaustive testing
179 - # -v: Increased verbosity
180 - emake -j1 VERBOSE="1" check
181 -}
182 -
183 -multilib_src_install() {
184 - default
185 -
186 - if multilib_is_native_abi && use doc; then
187 - docinto html
188 - dodoc -r doc/html/*
189 - fi
190 -}
191 -
192 -multilib_src_install_all() {
193 - einstalldocs
194 - docinto html
195 - dodoc ../readme.html
196 -}