commit:     6dac9cf7f3c06ee6fb2658a35a9e8fa6ae8d1d9b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Feb  4 08:34:09 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Feb  4 08:34:09 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6dac9cf7

sci-libs/jhdf5: version bump, EAPI bump, add keywords

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-libs/jhdf5/jhdf5-14.12.1.ebuild | 26 --------------------------
 sci-libs/jhdf5/jhdf5-19.04.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 26 deletions(-)

diff --git a/sci-libs/jhdf5/jhdf5-14.12.1.ebuild 
b/sci-libs/jhdf5/jhdf5-14.12.1.ebuild
deleted file mode 100644
index c3e6fbf24..000000000
--- a/sci-libs/jhdf5/jhdf5-14.12.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Java binding for HDF5 compatible with HDF5 1.6/1.8"
-HOMEPAGE="https://wiki-bsse.ethz.ch/display/JHDF5
-       https://wiki-bsse.ethz.ch/pages/viewpage.action?pageId=26609113";
-SRC_URI="https://wiki-bsse.ethz.ch/download/attachments/26609237/sis-jhdf5-14.12.1-r33502.zip";
-# first SIS release: 
https://wiki-bsse.ethz.ch/download/attachments/26609237/sis-jhdf5-14.12.0-r33145.zip
-# last CISD release: 
https://wiki-bsse.ethz.ch/download/attachments/26609237/cisd-jhdf5-13.06.2-r29633.zip
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-# versions <=12.02 required >=java-1.5
-DEPEND=">=virtual/jdk-1.6:*
-       app-arch/unzip"
-RDEPEND="${DEPEND}
-       >=virtual/jre-1.6:*"
-
-S="${WORKDIR}"/sis-jhdf5

diff --git a/sci-libs/jhdf5/jhdf5-19.04.0.ebuild 
b/sci-libs/jhdf5/jhdf5-19.04.0.ebuild
new file mode 100644
index 000000000..588503cfe
--- /dev/null
+++ b/sci-libs/jhdf5/jhdf5-19.04.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java binding for HDF5 compatible with HDF5 1.6/1.8"
+HOMEPAGE="https://wiki-bsse.ethz.ch/display/JHDF5";
+SRC_URI="https://wiki-bsse.ethz.ch/download/attachments/26609237/sis-jhdf5-${PV}.zip";
+# first SIS release: 
https://wiki-bsse.ethz.ch/download/attachments/26609237/sis-jhdf5-14.12.0-r33145.zip
+# last CISD release: 
https://wiki-bsse.ethz.ch/download/attachments/26609237/cisd-jhdf5-13.06.2-r29633.zip
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       >=virtual/jdk-1.7:*
+       app-arch/unzip
+       dev-java/args4j:*
+       dev-java/commons-io:*
+       dev-java/commons-lang:*
+"
+RDEPEND="${DEPEND}
+       >=virtual/jre-1.7:*"
+
+S="${WORKDIR}/sis-jhdf5"
+
+src_install() {
+       dobin bin/h5ar
+       java-pkg_newjar lib/sis-${P}.jar sis-${PN}.jar
+       java-pkg_dolauncher sis-${PN} --jar sis-${PN}.jar
+       java-pkg_newjar lib/sis-${PN}-h5ar-cli-${PV}.jar sis-${PN}-h5ar-cli.jar
+       java-pkg_dolauncher sis-${PN}-h5ar-cli --jar sis-${PN}-h5ar-cli.jar
+       dodoc doc/JHDF5-${PV}.*
+}

Reply via email to