Package/py scikit learn (#9843)

* add v0.20 specific dependency versions, also add cython and py-test as dependencies

* make flake8 happy

* make cython a build-only dependency
This commit is contained in:
Sinan 2018-11-24 17:03:30 -08:00 committed by Adam J. Stewart
parent 4c1733bff4
commit 096922c39d

View File

@ -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')