commit:     66a75e647cefce3dffc23f81f9ec6ca7799d774d
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 29 17:36:23 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Sep 29 17:36:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a75e64

dev-java/maven-bin: fixed qa and removed useless files in 3.6.2

Closes: https://bugs.gentoo.org/734908
Closes: https://bugs.gentoo.org/734906
Closes: https://bugs.gentoo.org/704618
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/maven-bin/maven-bin-3.6.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-java/maven-bin/maven-bin-3.6.2.ebuild 
b/dev-java/maven-bin/maven-bin-3.6.2.ebuild
index 622589dbd25..e6cf194b761 100644
--- a/dev-java/maven-bin/maven-bin-3.6.2.ebuild
+++ b/dev-java/maven-bin/maven-bin-3.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,6 +30,11 @@ S="${WORKDIR}/${MY_P}"
 MAVEN="${PN}-${SLOT}"
 MAVEN_SHARE="/usr/share/${MAVEN}"
 
+QA_FLAGS_IGNORED=(
+       "${MAVEN_SHARE}/lib/jansi-native/linux32/libjansi.so"
+       "${MAVEN_SHARE}/lib/jansi-native/linux64/libjansi.so"
+)
+
 # TODO:
 # We should use jars from packages, instead of what is bundled.
 src_install() {
@@ -48,6 +53,9 @@ src_install() {
        # See bug #342901.
        echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
        doenvd "${T}/25${MAVEN}"
+
+       # remove broken useless files (bug #734906 and #704618)
+       rm -r "${ED}"/${MAVEN_SHARE}/lib/jansi-native/freebsd* || die "Failed 
to remove FreeBSD files"
 }
 
 pkg_postinst() {

Reply via email to