summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-04-27 17:22:57 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-04-29 09:52:07 +0200
commitaa8837a588358bfd075e8543473aed225fe6ce97 (patch)
tree8340344ae9d5ba3a86ae387f5031254d21af5a88 /dev-java
parentmedia-libs/assimp: fix patch (diff)
downloadgentoo-aa8837a588358bfd075e8543473aed225fe6ce97.tar.gz
gentoo-aa8837a588358bfd075e8543473aed225fe6ce97.tar.bz2
gentoo-aa8837a588358bfd075e8543473aed225fe6ce97.zip
dev-java/guava-testlib: restrict tests
Bug: https://bugs.gentoo.org/841338 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/25227 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/guava-testlib/guava-testlib-30.1.1.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild b/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild
index 161b55f46c44..693aff4d94cb 100644
--- a/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild
+++ b/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild
@@ -12,7 +12,7 @@ JAVA_TESTING_FRAMEWORKS="junit-4"
inherit java-pkg-2 java-pkg-simple
-DESCRIPTION="A set of java classes to assist the tests for Guava itself"
+DESCRIPTION="A set of java classes to assist the tests for Guava itself"
HOMEPAGE="https://github.com/google/guava"
SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> guava-${PV}.tar.gz"
@@ -20,6 +20,9 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+# error: package com.google.common.truth does not exist
+RESRTICT="test"
+
# Common dependencies
# POM: ${PN}
# com.google.code.findbugs:jsr305:3.0.2 -> !!!groupId-not-found!!!
@@ -56,11 +59,9 @@ RDEPEND="
S="${WORKDIR}/guava-${PV}"
-JAVA_SRC_DIR="${PN}/src"
+JAVA_SRC_DIR=( "${PN}/src" )
# JAVA_RESOURCE_DIRS="${PN}/src"
# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!"
-# JAVA_TEST_SRC_DIR="${PN}/test"
-# JAVA_TEST_RESOURCE_DIRS=(
-# "${PN}/test"
-# )
+JAVA_TEST_SRC_DIR=( "${PN}/test" )
+JAVA_TEST_RESOURCE_DIRS=( "${PN}/test" )