py-pymoo: add v0.6.1.3 (#49603)

* py-pymoo: add v0.6.1.3
* py-pymoo: use a when context
* py-pymoo: group build only dependencies
This commit is contained in:
Robert Maaskant 2025-03-24 21:29:05 +01:00 committed by GitHub
parent 94b828add1
commit e2ed1c2308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,11 +18,27 @@ class PyPymoo(PythonPackage):
license("Apache-2.0")
version("0.6.1.3", sha256="ab440986cbaede547125ca9d1545781fdee94b719488de44119a86b8e9af526e")
version("0.5.0", sha256="2fbca1716f6b45e430197ce4ce2210070fd3b6b9ec6b17bb25d98486115272c2")
version("0.4.2", sha256="6ec382a7d29c8775088eec7f245a30fd384b42c40f230018dea0e3bcd9aabdf1")
depends_on("cxx", type="build") # generated
depends_on("python@3.4:", type=("build", "run"))
depends_on("py-autograd", type=("build", "run"))
depends_on("py-setuptools", type="build")
with default_args(type="build"):
depends_on("py-setuptools")
depends_on("py-cython@0.29:", when="@0.6.1.3:")
with default_args(type=("build", "run")):
depends_on("python@3.4:")
depends_on("py-autograd")
with when("@0.6.1.3:"):
depends_on("python@3.9:")
depends_on("py-numpy@1.15:")
depends_on("py-scipy@1.1:")
depends_on("py-matplotlib@3:")
depends_on("py-autograd@1.4:")
depends_on("py-cma@3.2.2:")
depends_on("py-alive-progress")
depends_on("py-dill")
depends_on("py-deprecated")