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-layoutex/
Date: Thu, 27 Jun 2019 10:48:50
Message-Id: 1561632446.1ba9f0fbf3aff35f8d7b93df66a785a9f7d2f249.asturm@gentoo
1 commit: 1ba9f0fbf3aff35f8d7b93df66a785a9f7d2f249
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 27 09:13:43 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 27 10:47:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba9f0fb
7
8 dev-libs/icu-layoutex: Drop 58.2
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.16
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/icu-layoutex/Manifest | 1 -
14 dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild | 115 -------------------------
15 2 files changed, 116 deletions(-)
16
17 diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest
18 index efaf4e9e515..8e3d05e0d4d 100644
19 --- a/dev-libs/icu-layoutex/Manifest
20 +++ b/dev-libs/icu-layoutex/Manifest
21 @@ -1,2 +1 @@
22 -DIST icu4c-58_2-src.tgz 23369902 BLAKE2B cdd2e02c3aba050f5b7f8b38c5a3731e3e5f1cc1403ef86a50908b95560ea3cf8a2d47119fa60cf34f22a8b65eaa2392fd5bcbd3bc48b3da541fe3d9bd7392c0 SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a
23 DIST icu4c-64_2-src.tgz 24013250 BLAKE2B 4a286e7a952f5faa74d942f6b6a73147a46aa10fe6d54d024e2d18d1e01056444d56118ded04b4fe084d6a0f9058d7d9e76973960ac8fe5bd9ee105d9e214318 SHA512 5ecb4c230ba45918747a1cf9aef86f555aa07d5b29b1d07ab674e8013f46dfb907a0e9d6945db41155f9dc3012fd94e1152ffc19f61a68b6dfcbabdcb8ae9d78
24
25 diff --git a/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild b/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild
26 deleted file mode 100644
27 index 92aedc3ca2d..00000000000
28 --- a/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild
29 +++ /dev/null
30 @@ -1,115 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal
37 -
38 -DESCRIPTION="External layout part of International Components for Unicode"
39 -HOMEPAGE="http://www.icu-project.org/"
40 -SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
41 -
42 -LICENSE="BSD"
43 -
44 -SLOT="0/${PV}"
45 -
46 -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 x86"
47 -IUSE="debug static-libs"
48 -
49 -RDEPEND="
50 - ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}]
51 - dev-libs/icu-le-hb[${MULTILIB_USEDEP}]
52 -"
53 -
54 -DEPEND="
55 - virtual/pkgconfig[${MULTILIB_USEDEP}]
56 - ${RDEPEND}
57 -"
58 -
59 -S="${WORKDIR}/${PN/-layoutex}/source"
60 -
61 -PATCHES=(
62 - "${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
63 -)
64 -
65 -src_prepare() {
66 - # apply patches
67 - default
68 -
69 - local variable
70 -
71 - # Disable renaming as it is stupid thing to do
72 - sed -i \
73 - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
74 - common/unicode/uconfig.h || die
75 -
76 - # Fix linking of icudata
77 - sed -i \
78 - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
79 - config/mh-linux || die
80 -
81 - eautoreconf
82 -}
83 -
84 -src_configure() {
85 - # Use C++14
86 - append-cxxflags -std=c++14
87 -
88 - if tc-is-cross-compiler; then
89 - mkdir "${WORKDIR}"/host || die
90 - pushd "${WORKDIR}"/host >/dev/null || die
91 -
92 - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
93 - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
94 - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
95 - "${S}"/configure --disable-renaming --disable-debug \
96 - --disable-samples --enable-static || die
97 - emake
98 -
99 - popd >/dev/null || die
100 - fi
101 -
102 - multilib-minimal_src_configure
103 -}
104 -
105 -multilib_src_configure() {
106 - local myeconfargs=(
107 - --disable-renaming
108 - --disable-samples
109 - --enable-layoutex
110 - $(use_enable debug)
111 - $(use_enable static-libs static)
112 - )
113 -
114 - tc-is-cross-compiler && myeconfargs+=(
115 - --with-cross-build="${WORKDIR}"/host
116 - )
117 -
118 - # icu tries to use clang by default
119 - tc-export CC CXX
120 -
121 - ECONF_SOURCE=${S} \
122 - econf "${myeconfargs[@]}"
123 -}
124 -
125 -multilib_src_test() {
126 - # INTLTEST_OPTS: intltest options
127 - # -e: Exhaustive testing
128 - # -l: Reporting of memory leaks
129 - # -v: Increased verbosity
130 - # IOTEST_OPTS: iotest options
131 - # -e: Exhaustive testing
132 - # -v: Increased verbosity
133 - # CINTLTST_OPTS: cintltst options
134 - # -e: Exhaustive testing
135 - # -v: Increased verbosity
136 - pushd layoutex &>/dev/null || die
137 - emake -j1 VERBOSE="1" check
138 - popd &>/dev/null || die
139 -}
140 -
141 -multilib_src_install() {
142 - pushd layoutex &>/dev/null || die
143 - default
144 - popd &>/dev/null || die
145 -}