summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-learn/package.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-scikit-learn/package.py b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
index 9a5df494f2..7fb8cecb3a 100644
--- a/var/spack/repos/builtin/packages/py-scikit-learn/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
@@ -20,6 +20,11 @@ class PyScikitLearn(PythonPackage):
version('0.17.1', 'a2f8b877e6d99b1ed737144f5a478dfc')
version('0.13.1', 'acba398e1d46274b8470f40d0926e6a4')
- depends_on('python@2.6:2.8,3.3:')
- depends_on('py-numpy@1.6.1:', type=('build', 'run'))
- depends_on('py-scipy@0.9:', type=('build', 'run'))
+ depends_on('python@2.6:2.8,3.3:', when='@:0.19.1')
+ depends_on('python@2.7:2.8,3.4:', when='@0.20.0:')
+ depends_on('py-numpy@1.6.1:', type=('build', 'run'), when='@:0.19.1')
+ depends_on('py-numpy@1.8.2:', type=('build', 'run'), when='@0.20.0:')
+ depends_on('py-scipy@0.9:', type=('build', 'run'), when='@:0.19.1')
+ depends_on('py-scipy@0.13.3:', type=('build', 'run'), when='@0.20.0:')
+ depends_on('py-cython@0.23:', type='build')
+ depends_on('py-test@3.3.0:', type='test')