Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/maven-bin/
Date: Tue, 29 Sep 2020 17:36:49
Message-Id: 1601400983.66a75e647cefce3dffc23f81f9ec6ca7799d774d.fordfrog@gentoo
1 commit: 66a75e647cefce3dffc23f81f9ec6ca7799d774d
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 29 17:36:23 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 17:36:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a75e64
7
8 dev-java/maven-bin: fixed qa and removed useless files in 3.6.2
9
10 Closes: https://bugs.gentoo.org/734908
11 Closes: https://bugs.gentoo.org/734906
12 Closes: https://bugs.gentoo.org/704618
13 Package-Manager: Portage-3.0.8, Repoman-3.0.1
14 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
15
16 dev-java/maven-bin/maven-bin-3.6.2.ebuild | 10 +++++++++-
17 1 file changed, 9 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-java/maven-bin/maven-bin-3.6.2.ebuild b/dev-java/maven-bin/maven-bin-3.6.2.ebuild
20 index 622589dbd25..e6cf194b761 100644
21 --- a/dev-java/maven-bin/maven-bin-3.6.2.ebuild
22 +++ b/dev-java/maven-bin/maven-bin-3.6.2.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2019 Gentoo Authors
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29 @@ -30,6 +30,11 @@ S="${WORKDIR}/${MY_P}"
30 MAVEN="${PN}-${SLOT}"
31 MAVEN_SHARE="/usr/share/${MAVEN}"
32
33 +QA_FLAGS_IGNORED=(
34 + "${MAVEN_SHARE}/lib/jansi-native/linux32/libjansi.so"
35 + "${MAVEN_SHARE}/lib/jansi-native/linux64/libjansi.so"
36 +)
37 +
38 # TODO:
39 # We should use jars from packages, instead of what is bundled.
40 src_install() {
41 @@ -48,6 +53,9 @@ src_install() {
42 # See bug #342901.
43 echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
44 doenvd "${T}/25${MAVEN}"
45 +
46 + # remove broken useless files (bug #734906 and #704618)
47 + rm -r "${ED}"/${MAVEN_SHARE}/lib/jansi-native/freebsd* || die "Failed to remove FreeBSD files"
48 }
49
50 pkg_postinst() {