<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b10fe94179fd652174dd6bbbcbfdb768c68176c2">https://github.com/macports/macports-ports/commit/b10fe94179fd652174dd6bbbcbfdb768c68176c2</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b10fe94179fd652174dd6bbbcbfdb768c68176c2
</span>Author: Dave Allured <dave.allured@noaa.gov>
AuthorDate: Sat Apr 20 19:26:18 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> hdf5: Update to 1.14.4.2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> .
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Update hdf5 1.14.3 --> 1.14.4.2
</span><span style='display:block; white-space:pre;color:#404040;'> * Use github portgroup.
</span><span style='display:block; white-space:pre;color:#404040;'> * Switch distfile to one of the official GH release assets.
</span><span style='display:block; white-space:pre;color:#404040;'> * Remove broken part of the `h5cc` wrapper script patch file.
</span><span style='display:block; white-space:pre;color:#404040;'> * Looks like upstream worked on that wrapper script, maybe fixed something.
</span>---
science/hdf5/Portfile | 41 ++++++++++++++++++++++++++---------------
1 file changed, 26 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1c8d747d5c2..c5c65111f7f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,12 +5,14 @@ PortGroup muniversal 1.0
</span> PortGroup mpi 1.0
PortGroup legacysupport 1.1
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup HDFGroup hdf5 1.14.4.2 hdf5_
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set distversion 1.14.4-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#set mainversion [lrange [split ${version} -] 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#set shortversion [join [lrange [split ${mainversion} .] 0 1] .]
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name hdf5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.14.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set mainversion [lrange [split ${version} -] 0 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set shortversion [join [lrange [split ${mainversion} .] 0 1] .]
</span> categories science
maintainers {eborisch @eborisch} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,16 +29,24 @@ long_description HDF5 is a data model, library, and file format for storing\
</span> homepage https://www.hdfgroup.org/solutions/hdf5/
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles ${name}-${version}.tar.bz2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${shortversion}/hdf5-${mainversion}/src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Looks like upstream gave up on BZ2. Maybe they will restore it later.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${name}-${distversion}.tar.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#distfiles ${name}-${version}.tar.bz2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Github download assets path is not quite right, for some unknown reason.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${github.homepage}/releases/download/${git.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## Full target currently:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.4.2/hdf5-1.14.4-2.tar.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 4038e67868ffa4d5bde3ed02a5cd03f24056b072 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9425f224ed75d1280bb46d6f26923dd938f9040e7eaebf57e66ec7357c08f917 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 16320137
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 da80b0fcf47248e869da9112890edf79905bf95c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 618934b9d45e34f328393e1fde73a8a67e973f8e5a6bae8b609d098a84cb0efe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 37033062
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> mpi.setup -gcc44 -gcc45
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span> depends_lib port:zlib port:libaec
use_parallel_build yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -210,6 +220,7 @@ Otherwise errors such as "unable to open file" or "HDF5 error" may be\
</span> encountered.
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url https://www.hdfgroup.org/downloads/hdf5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex hdf5-(\[0-9.-\]+)-Std
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Now attempting livecheck via github portgroup.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.url https://www.hdfgroup.org/downloads/hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.regex hdf5-(\[0-9.-\]+)-Std
</span></pre><pre style='margin:0'>
</pre>