summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-04-07 10:50:08 +0100
committerJames Le Cuirot <chewi@gentoo.org>2016-04-07 10:58:48 +0100
commitbe6f9efc29a8ee9fc0483d4c3004822c46ccd258 (patch)
treebb5a7ad5e29a85207d3a5947f01fa9f43348b4ab /dev-java/junit/junit-4.12-r1.ebuild
parentapp-vim/notes: drop 0.29, bump 0.33.4 (diff)
downloadgentoo-be6f9efc29a8ee9fc0483d4c3004822c46ccd258.tar.gz
gentoo-be6f9efc29a8ee9fc0483d4c3004822c46ccd258.tar.bz2
gentoo-be6f9efc29a8ee9fc0483d4c3004822c46ccd258.zip
dev-java/junit: Fix SRC_URI
It was outdated, lacking a name, and pointing to the zip instead of the tar.gz. The latter avoids app-arch/unzip, which was missing anyway. Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java/junit/junit-4.12-r1.ebuild')
-rw-r--r--dev-java/junit/junit-4.12-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-java/junit/junit-4.12-r1.ebuild b/dev-java/junit/junit-4.12-r1.ebuild
index 0c2cb99065de..6a9027f26929 100644
--- a/dev-java/junit/junit-4.12-r1.ebuild
+++ b/dev-java/junit/junit-4.12-r1.ebuild
@@ -4,12 +4,14 @@
EAPI=5
+MY_PN="${PN}${PV%%.*}"
+MY_P="${MY_PN}-r${PV}"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Simple framework to write repeatable tests"
-SRC_URI="https://github.com/${PN}-team/${PN}/archive/r${PV}.zip"
+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"
@@ -24,7 +26,7 @@ RDEPEND=">=virtual/jre-1.6
DEPEND=">=virtual/jdk-1.6
${CDEPEND}"
-S="${WORKDIR}/${PN}-r${PV}"
+S="${WORKDIR}/${MY_P}"
JAVA_SRC_DIR="src/main/java"
JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3"