public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-java/fits/
Date: Sat, 28 Dec 2013 08:43:39 +0000 (UTC)	[thread overview]
Message-ID: <1388220174.dfd76253e0e6238d6675c560b8cca8acbce76a40.jlec@gentoo> (raw)

commit:     dfd76253e0e6238d6675c560b8cca8acbce76a40
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 08:42:54 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 08:42:54 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=dfd76253

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 def761b..1128e1b 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 <jlec@gentoo.org> 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 <ercpe@gentoo.org> +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 450cd27..2fa8a18 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 8363e16..060700d 100644
--- a/dev-java/fits/metadata.xml
+++ b/dev-java/fits/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<longdescription lang='en'>
+  <herd>sci</herd>
+  <longdescription lang="en">
   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


             reply	other threads:[~2013-12-28  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-28  8:43 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-12-28  8:43 [gentoo-commits] proj/sci:master commit in: dev-java/fits/ Justin Lecher
2013-06-26 17:23 Sebastien Fabbro
2012-05-14 23:55 Sebastien Fabbro
2012-05-14 23:55 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388220174.dfd76253e0e6238d6675c560b8cca8acbce76a40.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox