diff options
author | Neil Flood <neilflood@fastmail.fm> | 2024-06-19 02:35:43 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 10:35:43 -0600 |
commit | d57f174ca3c073fb65b0c012d65141968016ed72 (patch) | |
tree | 620c51008cf53ee3cc1ee5cc64f92d18c4c8a921 | |
parent | e6ae42b1eb44b35a4b864128cfcf91d6c4226b40 (diff) | |
download | spack-d57f174ca3c073fb65b0c012d65141968016ed72.tar.gz spack-d57f174ca3c073fb65b0c012d65141968016ed72.tar.bz2 spack-d57f174ca3c073fb65b0c012d65141968016ed72.tar.xz spack-d57f174ca3c073fb65b0c012d65141968016ed72.zip |
py-rios: add 1.4.17, v2.0.1 (#44679)
* Update for 2.0.1
* cloudpickle dependency is only 'run'
* Follow new formatting guidelines
* black wants trailing commas
* Simplified version ranges, as recommended by @tldahlgren
-rw-r--r-- | var/spack/repos/builtin/packages/py-rios/package.py | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-rios/package.py b/var/spack/repos/builtin/packages/py-rios/package.py index a91712e25e..cede396e5a 100644 --- a/var/spack/repos/builtin/packages/py-rios/package.py +++ b/var/spack/repos/builtin/packages/py-rios/package.py @@ -17,8 +17,12 @@ class PyRios(PythonPackage): homepage = "https://www.rioshome.org/en/latest/" url = "https://github.com/ubarsc/rios/releases/download/rios-1.4.16/rios-1.4.16.tar.gz" + maintainers("neilflood", "gillins") + license("GPL-3.0-only") + version("2.0.1", sha256="8b8bcbf11a45af46d25b95d9d4a402ec0466ed117b3464f4226a6a466d9687b5") + version("1.4.17", sha256="81007af2d0bcf2a3bf064dc2445087f8b2264c941fa66441b2b1b503168e677d") version("1.4.16", sha256="2f553d85ff4ff26bfda2a8c6bd3d9dcce5ace847f7d9bd2f072c8943f3758ded") version("1.4.15", sha256="71670508dbffcd8f5d24fbb25e6a2b7e1d23b5e899ddc78c90d403bd65981cf4") version("1.4.14", sha256="ea22fde3fe70004aa1ad46bd36fad58f3346e9c161ca44ac913518a6e4fcad82") @@ -27,10 +31,25 @@ class PyRios(PythonPackage): version("1.4.11", sha256="b7ae5311f987b32f1afe1fabc16f25586de8d15c17a69405d1950aeada7b748e") version("1.4.10", sha256="6324acccc6018f9e06c40370bc366dc459890e8c09d26e0ebd245f6fd46dad71") - variant("parallel", default=True, description="Enables the parallel processing module") + # In 1.4.x, parallel processing was an extra add-on + variant( + "parallel", + default=True, + when="@1.4.16:1.4", + description="Enables the 1.4.x parallel processing module (deprecated)", + ) + # In 2.x, there is substantial concurrency always built-in, but using it + # across multiple machines requires an extra dependency. + variant( + "multimachine", + default=False, + when="@2:", + description="Enable compute worker kinds that run across multiple machines", + ) # 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") + depends_on("py-cloudpickle", type="run", when="@1.4.16:1.4+parallel") + depends_on("py-cloudpickle", type="run", when="@2:+multimachine") |