From 7e0d8fce895f5feaa89af67fd99e0c3a16f2ba00 Mon Sep 17 00:00:00 2001 From: Christian Mauch Date: Thu, 25 Aug 2022 17:02:52 +0200 Subject: [PATCH] py-pynn: add version 0.10.0 (#32307) --- .../repos/builtin/packages/py-pynn/package.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pynn/package.py b/var/spack/repos/builtin/packages/py-pynn/package.py index 2ce0e29cd0..44d0fae6fa 100644 --- a/var/spack/repos/builtin/packages/py-pynn/package.py +++ b/var/spack/repos/builtin/packages/py-pynn/package.py @@ -15,6 +15,7 @@ class PyPynn(PythonPackage): pypi = "PyNN/PyNN-0.8.3.tar.gz" git = "https://github.com/NeuralEnsemble/PyNN.git" + version("0.10.0", sha256="04120fe0e03260d664b337e0ac29d985c3fb3684ef35b1add93a66739891c98f") version("0.9.1", sha256="bbc60fea3235427191feb2daa0e2fa07eb1c3946104c068ac8a2a0501263b0b1") version("0.8.3", sha256="9d59e6cffa4714f0c892ec6b32d1f5f8f75ba3a20d8635bac50c047aa6f2537e") version("0.8beta", commit="ffb0cb1661f2b0f2778db8f71865978fe7a7a6a4") @@ -22,13 +23,22 @@ class PyPynn(PythonPackage): version("0.7.5", sha256="15f75f422f3b71c6129ecef23f29d8baeb3ed6502e7a321b8a2596c78ef7e03c") depends_on("python@2.6:2.8,3.3:", type=("build", "run")) + depends_on("python@3.7:", type=("build", "run"), when="@0.10.0:") + # pip silently replaces distutils with setuptools depends_on("py-setuptools", type="build") - depends_on("py-jinja2@2.7:", type=("build", "run")) - depends_on("py-docutils@0.10:", type=("build", "run")) + depends_on("py-jinja2@2.7:", type=("build", "run"), when="@:0.9") + depends_on("py-docutils@0.10:", type=("build", "run"), when="@:0.9") + depends_on("py-numpy@1.5:", type=("build", "run")) + depends_on("py-numpy@1.16.1:", type=("build", "run"), when="@0.10.0:") + depends_on("py-quantities@0.10:", type=("build", "run")) + depends_on("py-quantities@0.12.1:", type=("build", "run"), when="@0.10.0:") + depends_on("py-lazyarray@0.2.9:", type=("build", "run")) + depends_on("py-lazyarray@0.5.0:", type=("build", "run"), when="@0.10.0:") depends_on("py-neo@0.3:0.4.1", type=("build", "run"), when="@:0.8.3") depends_on("py-neo@0.5.0:", type=("build", "run"), when="@0.9.0:") + depends_on("py-neo@0.10.0:", type=("build", "run"), when="@0.10.0:")