diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-03-12 21:36:52 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-03-13 09:41:50 +0100 |
commit | 1cd5d8d3f1a46a707f43d56b93682ddd9152a47f (patch) | |
tree | 07501ed88885e967c7ff2f482112f05b972d1ce4 /dev-java/junit | |
parent | media-sound/qjackctl: remove unused patch (diff) | |
download | gentoo-1cd5d8d3f1a46a707f43d56b93682ddd9152a47f.tar.gz gentoo-1cd5d8d3f1a46a707f43d56b93682ddd9152a47f.tar.bz2 gentoo-1cd5d8d3f1a46a707f43d56b93682ddd9152a47f.zip |
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>
Diffstat (limited to 'dev-java/junit')
-rw-r--r-- | dev-java/junit/junit-4.13.1.ebuild | 25 | ||||
-rw-r--r-- | dev-java/junit/metadata.xml | 2 |
2 files changed, 16 insertions, 11 deletions
diff --git a/dev-java/junit/junit-4.13.1.ebuild b/dev-java/junit/junit-4.13.1.ebuild index 60c035757c38..72680398bed2 100644 --- a/dev-java/junit/junit-4.13.1.ebuild +++ b/dev-java/junit/junit-4.13.1.ebuild @@ -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 } diff --git a/dev-java/junit/metadata.xml b/dev-java/junit/metadata.xml index 9c59435e026b..618f5e0e4b6d 100644 --- a/dev-java/junit/metadata.xml +++ b/dev-java/junit/metadata.xml @@ -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> |