diff options
-rw-r--r-- | dev-java/jump/files/0.5-test.patch | 14 | ||||
-rw-r--r-- | dev-java/jump/jump-0.5.ebuild | 42 |
2 files changed, 0 insertions, 56 deletions
diff --git a/dev-java/jump/files/0.5-test.patch b/dev-java/jump/files/0.5-test.patch deleted file mode 100644 index 796d0d022dd0..000000000000 --- a/dev-java/jump/files/0.5-test.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur jump-0.5.vanilla/src/tests/org/znerd/math/tests/NumberCentralTests.java jump-0.5/src/tests/org/znerd/math/tests/NumberCentralTests.java ---- jump-0.5.vanilla/src/tests/org/znerd/math/tests/NumberCentralTests.java 2007-10-10 00:27:47.000000000 +0200 -+++ jump-0.5/src/tests/org/znerd/math/tests/NumberCentralTests.java 2007-10-10 00:28:38.000000000 +0200 -@@ -220,8 +220,8 @@ - assertEquals(ONE_HALF, NumberCentral.valueOf( 0.5)); - assertEquals(ONE, NumberCentral.valueOf( 1.0)); - assertEquals(TWO, NumberCentral.valueOf( 2.0)); -- assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MIN_VALUE).doubleValue(), 0.0); -- assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MAX_VALUE).doubleValue(), 0.0); -+ assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MIN_VALUE).doubleValue(), Double.MIN_VALUE); -+ assertEquals(Double.MAX_VALUE, NumberCentral.valueOf(Double.MAX_VALUE).doubleValue(), Double.MIN_VALUE); - } - - /** diff --git a/dev-java/jump/jump-0.5.ebuild b/dev-java/jump/jump-0.5.ebuild deleted file mode 100644 index b189eb063628..000000000000 --- a/dev-java/jump/jump-0.5.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -JAVA_PKG_IUSE="doc examples source test" -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="JUMP Ultimate Math Package (JUMP) is a Java-based extensible high-precision math package" -SRC_URI="mirror://sourceforge/${PN}-math/${P}.tar.gz" -HOMEPAGE="http://jump-math.sourceforge.net/" -KEYWORDS="amd64 x86" -LICENSE="BSD" -SLOT="0" -DEPEND=">=virtual/jdk-1.4 - test? ( dev-java/ant-junit =dev-java/junit-3* )" -RDEPEND=">=virtual/jre-1.4" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/0.5-test.patch" - - sed -i 's:${java.home}/src::' -i build.xml || die - java-ant_rewrite-classpath -} - -EANT_BUILD_TARGET="jar" -EANT_DOC_TARGET="apidocs" - -src_test() { - local cp="$(java-pkg_getjars junit)" - ANT_TASKS="ant-junit" eant do-tests -Dgentoo.classpath="${cp}" -} - -src_install() { - java-pkg_dojar build/${PN}.jar - - use doc && java-pkg_dojavadoc build/apidocs - use examples && java-pkg_doexamples src/examples - use source && java-pkg_dosrc src/main/org -} |