aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-02-04 09:34:09 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-02-04 09:34:09 +0100
commit6dac9cf7f3c06ee6fb2658a35a9e8fa6ae8d1d9b (patch)
treec84726a3711e84d9cab5759bc53301182fab2362
parentsci-libs/htslib-plugins: version bump, EAPI bump (diff)
downloadsci-6dac9cf7f3c06ee6fb2658a35a9e8fa6ae8d1d9b.tar.gz
sci-6dac9cf7f3c06ee6fb2658a35a9e8fa6ae8d1d9b.tar.bz2
sci-6dac9cf7f3c06ee6fb2658a35a9e8fa6ae8d1d9b.zip
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@riseup.net>
-rw-r--r--sci-libs/jhdf5/Manifest2
-rw-r--r--sci-libs/jhdf5/jhdf5-14.12.1.ebuild26
-rw-r--r--sci-libs/jhdf5/jhdf5-19.04.0.ebuild37
3 files changed, 38 insertions, 27 deletions
diff --git a/sci-libs/jhdf5/Manifest b/sci-libs/jhdf5/Manifest
index 3bc4752e4..0adcfacbb 100644
--- a/sci-libs/jhdf5/Manifest
+++ b/sci-libs/jhdf5/Manifest
@@ -1 +1 @@
-DIST sis-jhdf5-14.12.1-r33502.zip 30916751 BLAKE2B 9605b88a856fcfc66f0315d35a1635999099b3c4a4182c7ae4eb33ae540602f6e69ec4e99e0962c37c7164bf38787ab2b1e5485ad3b7cdee00e4974b424dbf5c SHA512 bc6104a829f50639cf913b3497c6ca815aff70782de0c509d9091087d7bcbd01649d5955e2df91d23ed4e058cdf90f7acfa40f1170059ca4039ba376ca11f800
+DIST sis-jhdf5-19.04.0.zip 16667536 BLAKE2B 54f7fa368cdcc04a4d22fcf761627a6a29c96643840b0185ab2b6ea7f65c72923cb21d80f52e3d441f2c50fe916047243bd00a2ab7f604bb46c0cc610f5b6fa6 SHA512 ea5fd9554d3729193252e97610f5643168dd927d6009e2f2c2e65e0ea838f8e1be942a9ee15d542740a6ec6f68a7c288cf33eea36dabcb9191814f66d209aa79
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}.*
+}