~alpine/aports

testing/h4h5tools: new aport v2 PROPOSED

Edd Salkield: 1
 testing/h4h5tools: new aport

 1 files changed, 33 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3790/mbox | git am -3
Learn more about email & git

[PATCH v2] testing/h4h5tools: new aport Export this patch

https://support.hdfgroup.org/products/hdf5_tools/h4toh5/
Conversion utilities between hdf4 and hdf5
---
Changes v1 -> v2:
 - Fix underscores in depends_dev reference
 - Fix nested quotes

 testing/h4h5tools/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/h4h5tools/APKBUILD

diff --git a/testing/h4h5tools/APKBUILD b/testing/h4h5tools/APKBUILD
new file mode 100644
index 0000000000..a08fc849c4
--- /dev/null
+++ b/testing/h4h5tools/APKBUILD
@@ -0,0 +1,33 @@
# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=h4h5tools
pkgver=2.2.5
pkgrel=0
pkgdesc="Conversion utilities between hdf4 and hdf5"
url="https://support.hdfgroup.org/products/hdf5_tools/h4toh5/"
arch="all"
license="custom"
options="!check"	# Upstream tests appear broken
depends_dev="hdf4-dev hdf5-dev zlib-dev portablexdr-dev jpeg-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://support.hdfgroup.org/ftp/HDF5/releases/h4toh5/h4toh5-$pkgver/src/h4h5tools-$pkgver.tar.gz"

build() {
	export LIBS="$LIBS -ldf -lmfhdf -lz -lportablexdr -ljpeg"
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
}

sha512sums="
1749c5d4383695296fcc79dc900c2d04be267f01cfb006be8fd0f4baf0e6d51a04d788c76881fedba3d06ad2bf440a0dbceeb98d8b02b5ceade520900a726d40  h4h5tools-2.2.5.tar.gz
"
-- 
2.34.1
Seems like this build is failing because it depends upon the hdf4 library that's currently being worked on in another issue tracker.  Should I wait for that to be ready to merge, get merged, and then resubmit this package to be built, or is there a way to get the CI to build this before then?

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27963#note_195636
Sorry to bother you @mailinglist-bot,

but we've detected that this merge request hasn't seen any recent activity. If you need help or want to discuss your approach with developers you can ping `@team/mentors`. You can also ask on IRC on `#alpine-devel` on irc.oftc.net. If no further activity occurs in this MR, Alpine developers may close it in the future.

Thanks for your contribution.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27963#note_202424