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: Sun, 07 Nov 2021 15:42:05
Message-Id: 1636299695.a0e1647615474808f15b0ddce953d455af9546be.asturm@gentoo
1 commit: a0e1647615474808f15b0ddce953d455af9546be
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 12:09:36 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 15:41:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0e16476
7
8 dev-libs/icu: Drop 68.2
9
10 Package-Manager: Portage-3.0.28, 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-68.2.ebuild | 147 -------------------------------------------
15 2 files changed, 148 deletions(-)
16
17 diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
18 index 3f909e9c7ea..7478359e6e1 100644
19 --- a/dev-libs/icu/Manifest
20 +++ b/dev-libs/icu/Manifest
21 @@ -1,2 +1 @@
22 -DIST icu4c-68_2-src.tgz 24737478 BLAKE2B ff54f903aed1a16928656e5f4fee79e4301038a70ba1d389fb2a2cc7c7dc4c76bc2430c810cea484c0ef69fbafc5728e71776c39874a5395c9dd06d573e8ea90 SHA512 24f3b7981667b37df58118f56ae76a09b719358c1efa8d6f044d28ef8df1c722a894957acadfb3c37aee39ac845893924fc3370d6bbe09875aec8d937059f84b
23 DIST icu4c-69_1-src.tgz 24814903 BLAKE2B ef95a04e238f0de96e969d580ef64000ab04a4a0003e8f31fd02baab35387d5ab2c4d792ae0d14f3de8e48aa28570237ccd67fb32e03b13d1572e4a995b1de76 SHA512 d4aeb781715144ea6e3c6b98df5bbe0490bfa3175221a1d667f3e6851b7bd4a638fa4a37d4a921ccb31f02b5d15a6dded9464d98051964a86f7b1cde0ff0aab7
24
25 diff --git a/dev-libs/icu/icu-68.2.ebuild b/dev-libs/icu/icu-68.2.ebuild
26 deleted file mode 100644
27 index 1b834bbdc0c..00000000000
28 --- a/dev-libs/icu/icu-68.2.ebuild
29 +++ /dev/null
30 @@ -1,147 +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 -)
66 -
67 -src_prepare() {
68 - default
69 -
70 - local variable
71 -
72 - # Disable renaming as it is stupid thing to do
73 - sed -i \
74 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
75 - common/unicode/uconfig.h || die
76 -
77 - # Fix linking of icudata
78 - sed -i \
79 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
80 - config/mh-linux || die
81 -
82 - # Append doxygen configuration to configure
83 - sed -i \
84 - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
85 - configure.ac || die
86 -
87 - eautoreconf
88 -}
89 -
90 -src_configure() {
91 - append-cxxflags -std=c++14
92 -
93 - if tc-is-cross-compiler; then
94 - mkdir "${WORKDIR}"/host || die
95 - pushd "${WORKDIR}"/host >/dev/null || die
96 -
97 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
98 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
99 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
100 - "${S}"/configure --disable-renaming --disable-debug \
101 - --disable-samples --enable-static || die
102 - emake
103 -
104 - popd >/dev/null || die
105 - fi
106 -
107 - multilib-minimal_src_configure
108 -}
109 -
110 -multilib_src_configure() {
111 - local myeconfargs=(
112 - --disable-renaming
113 - --disable-samples
114 - --disable-layoutex
115 - $(use_enable debug)
116 - $(use_enable static-libs static)
117 - $(multilib_native_use_enable examples samples)
118 - )
119 -
120 - tc-is-cross-compiler && myeconfargs+=(
121 - --with-cross-build="${WORKDIR}"/host
122 - )
123 -
124 - # work around cross-endian testing failures with LTO #757681
125 - if tc-is-cross-compiler && is-flagq '-flto*' ; then
126 - myeconfargs+=( --disable-strict )
127 - fi
128 -
129 - # icu tries to use clang by default
130 - tc-export CC CXX
131 -
132 - # make sure we configure with the same shell as we run icu-config
133 - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
134 - export CONFIG_SHELL="${EPREFIX}/bin/sh"
135 - # probably have no /bin/sh in prefix-chain
136 - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
137 -
138 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
139 -}
140 -
141 -multilib_src_compile() {
142 - default
143 -
144 - if multilib_is_native_abi && use doc; then
145 - doxygen -u Doxyfile || die
146 - doxygen Doxyfile || die
147 - fi
148 -}
149 -
150 -multilib_src_test() {
151 - # INTLTEST_OPTS: intltest options
152 - # -e: Exhaustive testing
153 - # -l: Reporting of memory leaks
154 - # -v: Increased verbosity
155 - # IOTEST_OPTS: iotest options
156 - # -e: Exhaustive testing
157 - # -v: Increased verbosity
158 - # CINTLTST_OPTS: cintltst options
159 - # -e: Exhaustive testing
160 - # -v: Increased verbosity
161 - emake -j1 VERBOSE="1" check
162 -}
163 -
164 -multilib_src_install() {
165 - default
166 -
167 - if multilib_is_native_abi && use doc; then
168 - docinto html
169 - dodoc -r doc/html/*
170 - fi
171 -}
172 -
173 -multilib_src_install_all() {
174 - einstalldocs
175 - docinto html
176 - dodoc ../readme.html
177 -}