Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/
Date: Sun, 04 Sep 2022 01:48:11
Message-Id: 1662255948.2c09d52d8a0b6ea19c822165ce271821a348570a.sam@gentoo
1 commit: 2c09d52d8a0b6ea19c822165ce271821a348570a
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 4 01:45:48 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 4 01:45:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c09d52d
7
8 dev-libs/libutf8proc: fix phase order; use BROOT
9
10 - Fix phase order (reflect execution order, per devmanual)
11 - Use BROOT for test deps
12
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild | 12 ++++++------
16 1 file changed, 6 insertions(+), 6 deletions(-)
17
18 diff --git a/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild b/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild
19 index 2e009ba02e2d..65c0146e8585 100644
20 --- a/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild
21 +++ b/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild
22 @@ -42,6 +42,12 @@ src_compile() {
23 libdir='$(prefix)'"/$(get_libdir)"
24 }
25
26 +src_test() {
27 + cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die
28 +
29 + emake CC="$(tc-getCC)" check
30 +}
31 +
32 src_install() {
33 emake \
34 DESTDIR="${D}" \
35 @@ -50,9 +56,3 @@ src_install() {
36 install
37 use static-libs || find "${ED}" -name '*.a' -delete || die
38 }
39 -
40 -src_test() {
41 - cp "${EPREFIX}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die
42 -
43 - emake CC="$(tc-getCC)" check
44 -}