libEnsemble: add v0.10.0 (#37954)
* libEnsemble: add v0.10.0 * Make new deps required * Fixes to deps * Update var/spack/repos/builtin/packages/py-libensemble/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Fix build, run * Reorder required deps --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
0470fe545f
commit
62aa9d87ee
@ -12,13 +12,14 @@ class PyLibensemble(PythonPackage):
|
||||
"""Library for managing ensemble-like collections of computations."""
|
||||
|
||||
homepage = "https://libensemble.readthedocs.io"
|
||||
pypi = "libensemble/libensemble-0.9.3.tar.gz"
|
||||
pypi = "libensemble/libensemble-0.10.0.tar.gz"
|
||||
git = "https://github.com/Libensemble/libensemble.git"
|
||||
maintainers("shuds13", "jlnav")
|
||||
|
||||
tags = ["e4s"]
|
||||
|
||||
version("develop", branch="develop")
|
||||
version("0.10.0", sha256="f800f38d02def526f1d2a325710d01fdd3637cd1e33a9a083a3cf4a7f419a726")
|
||||
version("0.9.3", sha256="00e5a65d6891feee6a686c048d8de72097b8bff164431f163be96ec130a9c390")
|
||||
version("0.9.2", sha256="e46598e5696f770cbff4cb90507b52867faad5654f1b80de35405a95228c909f")
|
||||
version("0.9.1", sha256="684e52b0ea64f5ec610e7868b7e4c9fa5fd2316a370a726870aa5fd5fb1b0ede")
|
||||
@ -44,11 +45,13 @@ class PyLibensemble(PythonPackage):
|
||||
variant("mpmath", default=False, description="Install with mpmath")
|
||||
variant("deap", default=False, description="Install with DEAP")
|
||||
variant("tasmanian", default=False, description="Install with tasmanian")
|
||||
variant("pyyaml", default=False, description="Install with pyyaml")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-numpy", type=("build", "run"))
|
||||
depends_on("py-psutil", type=("build", "run"), when="@0.7.1:")
|
||||
depends_on("py-setuptools", type=("build", "run"))
|
||||
depends_on("py-pydantic", type=("build", "run"), when="@0.10:")
|
||||
depends_on("py-tomli", type=("build", "run"), when="@0.10:")
|
||||
depends_on("py-pyyaml", type=("build", "run"), when="@0.10:")
|
||||
depends_on("mpi", when="@:0.4.1")
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("py-mpi4py@2.0:", type=("build", "run"), when="@:0.4.1")
|
||||
@ -60,7 +63,6 @@ class PyLibensemble(PythonPackage):
|
||||
depends_on("py-mpmath", type=("build", "run"), when="+mpmath")
|
||||
depends_on("py-deap", type=("build", "run"), when="+deap")
|
||||
depends_on("tasmanian+python", type=("build", "run"), when="+tasmanian")
|
||||
depends_on("py-pyyaml", type=("build", "run"), when="+pyyaml")
|
||||
conflicts("~mpi", when="@:0.4.1")
|
||||
|
||||
@run_after("install")
|
||||
|
Loading…
Reference in New Issue
Block a user