kealib: add 1.5.1 and 1.5.2 versions (#40202)

* add recent kealib versions
* udpdate depends_on so hl not required for latest version
This commit is contained in:
Sam Gillingham 2023-09-28 11:08:28 +10:00 committed by GitHub
parent b6f08f1d4e
commit ebc0e9be19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,12 +24,14 @@ class Kealib(CMakePackage):
"""
homepage = "http://www.kealib.org/"
url = "https://github.com/ubarsc/kealib/releases/download/kealib-1.5.0/kealib-1.5.0.tar.gz"
url = "https://github.com/ubarsc/kealib/releases/download/kealib-1.5.2/kealib-1.5.2.tar.gz"
git = "https://github.com/ubarsc/kealib"
maintainers("gillins", "neilflood", "petebunting")
version("develop", git=git)
version("1.5.2", sha256="c4e17c472761a39e45184b5fa687395b319ac75430e0f6584dbf4cec6e335572")
version("1.5.1", sha256="06cd547b1e40394b9539beaf6982bd249e8ee93d6150295e9cd9161d00829657")
version("1.5.0", sha256="d19a0fb051019f87fe413bda76472bf4fff8fca52ede92e0ffd983caeafd05b8")
version("1.4.15", sha256="40f2573c00f005f93c1fa88f1f13bfbd485cbc7a9b3f1c706931e69bff17dae4")
version("1.4.12", sha256="0b100e36b3e25e57487aa197d7be47f22e1b30afb16a57fdaa5f877696ec321e")
@ -39,8 +41,9 @@ class Kealib(CMakePackage):
version("1.4.8", sha256="0f24d8478865abcb17865c8f49c0370095726c529b8ac373ffae018ad3d40a02")
version("1.4.7", sha256="ec38751b3b555d3a26f0c7445f2d2cd9d7c3a3502237519a206a50cb58df56ec")
depends_on("cmake@2.8.10:", type="build")
depends_on("hdf5+cxx+hl")
depends_on("cmake@3.5:", type="build")
depends_on("hdf5+cxx+hl", when="@:1.5.1")
depends_on("hdf5+cxx", when="@1.5.2:")
patch("cmake.patch", when="@1.4.7")