RIOS: add recent versions (#40243)

* add recent versions of RIOS

* fix depends_on syntax

* fix typo

* fix sha and add parallel variant

* remove self

* try doing in one
This commit is contained in:
Sam Gillingham 2023-10-07 05:52:15 +11:00 committed by GitHub
parent 5524492e25
commit b0f36b2cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,11 +15,20 @@ class PyRios(PythonPackage):
"""
homepage = "https://www.rioshome.org/en/latest/"
url = "https://github.com/ubarsc/rios/archive/rios-1.4.10.tar.gz"
url = "https://github.com/ubarsc/rios/releases/download/rios-1.4.16/rios-1.4.16.tar.gz"
version("1.4.10", sha256="7f11b54eb1f2ec551d7fc01c039b60bf2c67f0c2fc5b2946f8d986d6a9bc7063")
version("1.4.16", sha256="2f553d85ff4ff26bfda2a8c6bd3d9dcce5ace847f7d9bd2f072c8943f3758ded")
version("1.4.15", sha256="71670508dbffcd8f5d24fbb25e6a2b7e1d23b5e899ddc78c90d403bd65981cf4")
version("1.4.14", sha256="ea22fde3fe70004aa1ad46bd36fad58f3346e9c161ca44ac913518a6e4fcad82")
version("1.4.13", sha256="9f99f41f20ce769101e61bc8347aa96718e6e5ac37ccb47cb3e555dc4ca83427")
version("1.4.12", sha256="6d897488ce1ca77e470483472998afcb2eb3bb3307f392a924b85f88a16d73eb")
version("1.4.11", sha256="b7ae5311f987b32f1afe1fabc16f25586de8d15c17a69405d1950aeada7b748e")
version("1.4.10", sha256="6324acccc6018f9e06c40370bc366dc459890e8c09d26e0ebd245f6fd46dad71")
variant("parallel", default=True, description="Enables the parallel processing module")
# pip silently replaces distutils with setuptools
depends_on("py-setuptools", type="build")
depends_on("py-numpy", type=("build", "run"))
depends_on("gdal+python", type=("build", "run"))
depends_on("py-cloudpickle", type=("build", "run"), when="@1.4.16:+parallel")