summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-09-29 19:36:23 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-09-29 19:36:23 +0200
commit66a75e647cefce3dffc23f81f9ec6ca7799d774d (patch)
treed47e42dac522b64d5b09bec893a22a094cd38cad
parentdev-java/maven-bin: removed obsolete 3.6.1-r1 (diff)
downloadgentoo-66a75e647cefce3dffc23f81f9ec6ca7799d774d.tar.gz
gentoo-66a75e647cefce3dffc23f81f9ec6ca7799d774d.tar.bz2
gentoo-66a75e647cefce3dffc23f81f9ec6ca7799d774d.zip
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@gentoo.org>
-rw-r--r--dev-java/maven-bin/maven-bin-3.6.2.ebuild10
1 files changed, 9 insertions, 1 deletions
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 622589dbd25c..e6cf194b7619 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() {