summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pynn/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-pynn/package.py b/var/spack/repos/builtin/packages/py-pynn/package.py
index 23e9ab13a4..284da28236 100644
--- a/var/spack/repos/builtin/packages/py-pynn/package.py
+++ b/var/spack/repos/builtin/packages/py-pynn/package.py
@@ -33,6 +33,7 @@ class PyPynn(PythonPackage):
homepage = "http://neuralensemble.org/PyNN/"
url = "https://pypi.io/packages/source/P/PyNN/PyNN-0.8.3.tar.gz"
+ version('0.9.1', '3b8a6c63dc59d7ac751029f84dcaf7e6')
version('0.8.3', '28c63f898093806a57198e9271ed7b82')
version('0.8beta', git='https://github.com/NeuralEnsemble/PyNN.git',
commit='ffb0cb1661f2b0f2778db8f71865978fe7a7a6a4')
@@ -45,7 +46,9 @@ class PyPynn(PythonPackage):
depends_on('py-numpy@1.5:', type=('build', 'run'))
depends_on('py-quantities@0.10:', type=('build', 'run'))
depends_on('py-lazyarray@0.2.9:', type=('build', 'run'))
- depends_on('py-neo@0.3:', type=('build', 'run'))
+
+ 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:")
# TODO: Add a 'test' deptype
# depends_on('py-mock@1.0:', type='test')