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: Sat, 05 Feb 2022 20:46:49
Message-Id: 1644093646.f9e554b249cde1ae33d6e09a9fb0b22bcc9aa9c0.asturm@gentoo
1 commit: f9e554b249cde1ae33d6e09a9fb0b22bcc9aa9c0
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 5 20:23:41 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 20:40:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e554b2
7
8 dev-libs/icu: Drop 69.1-r1
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/icu/Manifest | 1 -
14 dev-libs/icu/icu-69.1-r1.ebuild | 150 ----------------------------------------
15 2 files changed, 151 deletions(-)
16
17 diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
18 index 820d3604cb0b..28544b0b2812 100644
19 --- a/dev-libs/icu/Manifest
20 +++ b/dev-libs/icu/Manifest
21 @@ -1,2 +1 @@
22 -DIST icu4c-69_1-src.tgz 24814903 BLAKE2B ef95a04e238f0de96e969d580ef64000ab04a4a0003e8f31fd02baab35387d5ab2c4d792ae0d14f3de8e48aa28570237ccd67fb32e03b13d1572e4a995b1de76 SHA512 d4aeb781715144ea6e3c6b98df5bbe0490bfa3175221a1d667f3e6851b7bd4a638fa4a37d4a921ccb31f02b5d15a6dded9464d98051964a86f7b1cde0ff0aab7
23 DIST icu4c-70_1-src.tgz 25449582 BLAKE2B e229376ee45322db99aa963465048ab5e694ce9f0ba335f071817198238de21fcd77dfe3e86ea1394790e2a3b6d96772d1b98cb7dccd6462a9dd05c0ab7bdef0 SHA512 0b26ae7207155cb65a8fdb25f7b2fa4431e74b12bccbed0884a17feaae3c96833d12451064dd152197fd6ea5fd3adfd95594284a463e66c82e0d860f645880c9
24
25 diff --git a/dev-libs/icu/icu-69.1-r1.ebuild b/dev-libs/icu/icu-69.1-r1.ebuild
26 deleted file mode 100644
27 index 6f632a02fd23..000000000000
28 --- a/dev-libs/icu/icu-69.1-r1.ebuild
29 +++ /dev/null
30 @@ -1,150 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -inherit autotools flag-o-matic multilib-minimal python-any-r1 toolchain-funcs
38 -
39 -DESCRIPTION="International Components for Unicode"
40 -HOMEPAGE="http://site.icu-project.org/"
41 -SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
48 -IUSE="debug doc examples static-libs"
49 -
50 -BDEPEND="${PYTHON_DEPS}
51 - virtual/pkgconfig
52 - doc? ( app-doc/doxygen[dot] )
53 -"
54 -
55 -S="${WORKDIR}/${PN}/source"
56 -
57 -MULTILIB_CHOST_TOOLS=(
58 - /usr/bin/icu-config
59 -)
60 -
61 -PATCHES=(
62 - "${FILESDIR}/${PN}-65.1-remove-bashisms.patch"
63 - "${FILESDIR}/${PN}-64.2-darwin.patch"
64 - "${FILESDIR}/${PN}-68.1-nonunicode.patch"
65 - # Should be in the next rleease, but check
66 - # https://bugs.gentoo.org/788112
67 - "${FILESDIR}/${PN}-69.1-fix-ub-units.patch"
68 -)
69 -
70 -src_prepare() {
71 - default
72 -
73 - local variable
74 -
75 - # Disable renaming as it is stupid thing to do
76 - sed -i \
77 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
78 - common/unicode/uconfig.h || die
79 -
80 - # Fix linking of icudata
81 - sed -i \
82 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
83 - config/mh-linux || die
84 -
85 - # Append doxygen configuration to configure
86 - sed -i \
87 - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
88 - configure.ac || die
89 -
90 - eautoreconf
91 -}
92 -
93 -src_configure() {
94 - append-cxxflags -std=c++14
95 -
96 - if tc-is-cross-compiler; then
97 - mkdir "${WORKDIR}"/host || die
98 - pushd "${WORKDIR}"/host >/dev/null || die
99 -
100 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
101 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
102 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
103 - "${S}"/configure --disable-renaming --disable-debug \
104 - --disable-samples --enable-static || die
105 - emake
106 -
107 - popd >/dev/null || die
108 - fi
109 -
110 - multilib-minimal_src_configure
111 -}
112 -
113 -multilib_src_configure() {
114 - local myeconfargs=(
115 - --disable-renaming
116 - --disable-samples
117 - --disable-layoutex
118 - $(use_enable debug)
119 - $(use_enable static-libs static)
120 - $(multilib_native_use_enable examples samples)
121 - )
122 -
123 - tc-is-cross-compiler && myeconfargs+=(
124 - --with-cross-build="${WORKDIR}"/host
125 - )
126 -
127 - # work around cross-endian testing failures with LTO #757681
128 - if tc-is-cross-compiler && is-flagq '-flto*' ; then
129 - myeconfargs+=( --disable-strict )
130 - fi
131 -
132 - # icu tries to use clang by default
133 - tc-export CC CXX
134 -
135 - # make sure we configure with the same shell as we run icu-config
136 - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
137 - export CONFIG_SHELL="${EPREFIX}/bin/sh"
138 - # probably have no /bin/sh in prefix-chain
139 - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
140 -
141 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
142 -}
143 -
144 -multilib_src_compile() {
145 - default
146 -
147 - if multilib_is_native_abi && use doc; then
148 - doxygen -u Doxyfile || die
149 - doxygen Doxyfile || die
150 - fi
151 -}
152 -
153 -multilib_src_test() {
154 - # INTLTEST_OPTS: intltest options
155 - # -e: Exhaustive testing
156 - # -l: Reporting of memory leaks
157 - # -v: Increased verbosity
158 - # IOTEST_OPTS: iotest options
159 - # -e: Exhaustive testing
160 - # -v: Increased verbosity
161 - # CINTLTST_OPTS: cintltst options
162 - # -e: Exhaustive testing
163 - # -v: Increased verbosity
164 - emake -j1 VERBOSE="1" check
165 -}
166 -
167 -multilib_src_install() {
168 - default
169 -
170 - if multilib_is_native_abi && use doc; then
171 - docinto html
172 - dodoc -r doc/html/*
173 - fi
174 -}
175 -
176 -multilib_src_install_all() {
177 - einstalldocs
178 - docinto html
179 - dodoc ../readme.html
180 -}