From dfd76253e0e6238d6675c560b8cca8acbce76a40 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 28 Dec 2013 09:42:54 +0100 Subject: dev-java/fits: Add missing die; Some cosmetics Package-Manager: portage-2.2.7 --- dev-java/fits/ChangeLog | 4 ++++ dev-java/fits/fits-1.11.0-r1.ebuild | 18 ++++++++---------- dev-java/fits/metadata.xml | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/dev-java/fits/ChangeLog b/dev-java/fits/ChangeLog index def761b2f..1128e1b1a 100644 --- a/dev-java/fits/ChangeLog +++ b/dev-java/fits/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 28 Dec 2013; Justin Lecher fits-1.11.0-r1.ebuild, + metadata.xml: + Add missing die; Some cosmetics + *fits-1.11.0-r1 (27 Dec 2013) 27 Dec 2013; Johann Schmitz +fits-1.11.0-r1.ebuild, diff --git a/dev-java/fits/fits-1.11.0-r1.ebuild b/dev-java/fits/fits-1.11.0-r1.ebuild index 450cd270a..2fa8a1885 100644 --- a/dev-java/fits/fits-1.11.0-r1.ebuild +++ b/dev-java/fits/fits-1.11.0-r1.ebuild @@ -18,32 +18,30 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" CDEPEND="dev-java/junit:4" -RDEPEND=">=virtual/jre-1.5 - ${CDEPEND}" -DEPEND=">=virtual/jdk-1.5 - test? ( - dev-java/ant-junit4:0 - ) - ${CDEPEND}" +RDEPEND="${CDEPEND} + >=virtual/jre-1.5" +DEPEND="${CDEPEND} + >=virtual/jdk-1.5 + test? ( dev-java/ant-junit4:0 )" EANT_EXTRA_ARGS="-Dpackage.version=${PV}" JAVA_ANT_REWRITE_CLASSPATH="true" EANT_GENTOO_CLASSPATH="junit-4" src_unpack() { - mkdir -p ${P}/src && cd ${P}/src + mkdir -p ${P}/src && cd ${P}/src || die unpack ${A} } java_prepare() { - cd "${S}" + cd "${S}" || die cp "${FILESDIR}"/README.Gentoo "${FILESDIR}"/build.xml . || die epatch \ "${FILESDIR}"/01-Use-getResource-to-access-CompressTest-data-for-unit.patch \ "${FILESDIR}"/02-Update-ArrayFuncsTest.java-to-JUnit-4.patch if ! use test; then - find "${S}" -name "*Test.java" -o -name "*Tester.java" | xargs rm || die + find "${S}" \( -name "*Test.java" -o -name "*Tester.java" \) -print -delete || die fi # from http://heasarc.gsfc.nasa.gov/docs/heasarc/fits/java/v1.0/NOTE.v111.0: diff --git a/dev-java/fits/metadata.xml b/dev-java/fits/metadata.xml index 8363e16ef..060700ddb 100644 --- a/dev-java/fits/metadata.xml +++ b/dev-java/fits/metadata.xml @@ -1,8 +1,8 @@ -sci - + sci + Java library which provides I/O for FITS images and binary tables. The Java libraries support all basic FITS formats and gzip compressed files. Support for access to data subsets is included and the -- cgit v1.2.3-65-gdbad