From 7d877bb1dedf8bfcaefebdfbf950ceea6dcd2be2 Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Tue, 25 Jun 2013 08:53:31 -0700 Subject: dev-java/fits: Version bump Package-Manager: portage-2.2.01.22013-prefix RepoMan-Options: --force --- dev-java/fits/ChangeLog | 9 +++++-- dev-java/fits/Manifest | 2 +- dev-java/fits/fits-1.08.1.ebuild | 54 ---------------------------------------- dev-java/fits/fits-1.11.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 57 deletions(-) delete mode 100644 dev-java/fits/fits-1.08.1.ebuild create mode 100644 dev-java/fits/fits-1.11.0.ebuild (limited to 'dev-java/fits') diff --git a/dev-java/fits/ChangeLog b/dev-java/fits/ChangeLog index 3c3438523..f3920cf39 100644 --- a/dev-java/fits/ChangeLog +++ b/dev-java/fits/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for dev-java/fits -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*fits-1.11.0 (25 Jun 2013) + + 25 Jun 2013; Sébastien Fabbro +fits-1.11.0.ebuild, + -fits-1.08.1.ebuild: + dev-java/fits: Version bump + 14 May 2012; Sébastien Fabbro fits-1.08.1.ebuild: quotes @@ -15,4 +21,3 @@ +fits-1.08.1.ebuild, +files/02-Update-ArrayFuncsTest.java-to-JUnit-4.patch, +files/README.Gentoo, +files/build.xml, +metadata.xml: Version bump and import to the science overlay - diff --git a/dev-java/fits/Manifest b/dev-java/fits/Manifest index 0cd3df08f..d1f3fe4e1 100644 --- a/dev-java/fits/Manifest +++ b/dev-java/fits/Manifest @@ -1 +1 @@ -DIST fits-1.08.1-src.jar 180266 SHA256 c27671397bddffd5e0b9c4333bbe58ccbdf4aa5f108a4046a159662715895772 SHA512 1cca4a11a92bf9a0253d9f3bf68f448e27ad7f116f4bf35181a775a97a6fb43e9b09800f45e8bb710d817cf09adfd0ff7b4a6855f2b9838994d5c17c05592c5e WHIRLPOOL 415960b39f05b79b2da4cef9e3d37683350c74d39e2648b012578f035c0fb64f62923d013e24837a16c070b09ef28cd03328e5b129cef07233ef03a837e23bf8 +DIST fits-1.11.0-src.jar 247303 SHA256 d4e8a8957d797c06d030d2122dd73c55b72c2e54dfbd709143e51d490fb7713c SHA512 e4ecebe139dfcd9f475c9e588c4d625472a6b147b67b9ce2eb3f08e5e43b278e9df03d86d597881c9f9a7fffbc3a4dbede75b3a76543742ceb705f136d8a9b27 WHIRLPOOL b18c1d902340ac3b542c9ab6cb4e2e5f699e105d2c42f58017a96e650d168355bbb464d21052a994e4927327493956c963a2a17c5e4fd9a4d7d95969c4730309 diff --git a/dev-java/fits/fits-1.08.1.ebuild b/dev-java/fits/fits-1.08.1.ebuild deleted file mode 100644 index aac88fcda..000000000 --- a/dev-java/fits/fits-1.08.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -JAVA_PKG_IUSE="doc source test" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Java library for FITS input/output" -HOMEPAGE="http://fits.gsfc.nasa.gov/fits_libraries.html#java_tam" -SRC_URI="http://heasarc.gsfc.nasa.gov/docs/heasarc/${PN}/java/v1.0/v${PV}/${PN}_src.jar -> ${P}-src.jar" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -CDEPEND="dev-java/junit:4" -RDEPEND=">=virtual/jre-1.5 - ${CDEPEND}" -DEPEND=">=virtual/jdk-1.5 - test? ( - dev-java/ant-junit4 - dev-java/hamcrest-core - ) - ${CDEPEND}" - -EANT_EXTRA_ARGS="-Dpacakge.version=${PV}" -EANT_GENTOO_CLASSPATH="junit-4" -JAVA_ANT_REWRITE_CLASSPATH="true" - -src_unpack() { - mkdir -p ${P}/src && cd ${P}/src - unpack ${A} -} - -java_prepare() { - cd "${S}" - 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 -} - -src_test() { - ANT_TASKS="ant-junit4" eant test -} - -src_install() { - java-pkg_newjar build/${PN}.jar ${PN}.jar - use doc && java-pkg_dojavadoc doc/api - use source && java-pkg_dosrc src/* - #use examples && java-pkg_doexamples src/java/examples -} diff --git a/dev-java/fits/fits-1.11.0.ebuild b/dev-java/fits/fits-1.11.0.ebuild new file mode 100644 index 000000000..a4ab801b3 --- /dev/null +++ b/dev-java/fits/fits-1.11.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +JAVA_PKG_IUSE="doc source test" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Java library for FITS input/output" +HOMEPAGE="http://fits.gsfc.nasa.gov/fits_libraries.html#java_tam" +SRC_URI="http://heasarc.gsfc.nasa.gov/docs/heasarc/${PN}/java/v1.0/v${PV}/${PN}_src.jar -> ${P}-src.jar" + +LICENSE="public-domain" +SLOT="0" +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 + dev-java/hamcrest-core + ) + ${CDEPEND}" + +EANT_EXTRA_ARGS="-Dpacakge.version=${PV}" +EANT_GENTOO_CLASSPATH="junit-4" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_unpack() { + mkdir -p ${P}/src && cd ${P}/src + unpack ${A} +} + +java_prepare() { + cd "${S}" + 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 +} + +src_test() { + ANT_TASKS="ant-junit4" eant test +} + +src_install() { + java-pkg_newjar build/${PN}.jar ${PN}.jar + use doc && java-pkg_dojavadoc doc/api + use source && java-pkg_dosrc src/* + #use examples && java-pkg_doexamples src/java/examples +} -- cgit v1.2.3-65-gdbad