mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/junit: Depend on hamcrest-library
Closes: https://bugs.gentoo.org/770886 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/19902 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
committed by
Miroslav Šulc
parent
a2cda03660
commit
1cd5d8d3f1
@@ -11,26 +11,31 @@ MAVEN_ID="junit:junit:4.13.1"
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Simple framework to write repeatable tests"
|
||||
HOMEPAGE="https://junit.org/junit5/"
|
||||
SRC_URI="https://github.com/${PN}-team/${MY_PN}/archive/r${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://junit.org/"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples"
|
||||
|
||||
CDEPEND="dev-java/hamcrest-core:1.3"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8
|
||||
${CDEPEND}"
|
||||
DEPEND="
|
||||
dev-java/hamcrest-core:1.3
|
||||
dev-java/hamcrest-library:1.3
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=virtual/jre-1.8
|
||||
"
|
||||
BDEPEND="${DEPEND}
|
||||
>=virtual/jdk-1.8
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3"
|
||||
JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3,hamcrest-library-1.3"
|
||||
|
||||
java_prepare() {
|
||||
src_prepare() {
|
||||
default
|
||||
rm -v lib/*.jar || die
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">junit-team/junit</remote-id>
|
||||
<remote-id type="github">junit-team/junit4</remote-id>
|
||||
<remote-id type="sourceforge">junit</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user