py-scikit-image: add new version (#22363)

* [py-scikit-image] Added py-setuptools back into depends_on. Otherwise it is putting skimage in scikit_image-version-pyX.Y-arch.egg dir under site-packages

* [py-scikit-image] Added latest version

* [py-scikit-image] Added py-numpy version dependency when package version greater than 0.18

* [py-scikit-image] Updates to python dependency

* Fix typo

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
archxlith 2021-04-06 23:32:38 -04:00 committed by GitHub
parent dbdb72d0ea
commit 97d237dafa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,17 +13,21 @@ class PyScikitImage(PythonPackage):
homepage = "http://scikit-image.org/"
pypi = "scikit-image/scikit-image-0.17.2.tar.gz"
version('0.18.1', sha256='fbb618ca911867bce45574c1639618cdfb5d94e207432b19bc19563d80d2f171')
version('0.17.2', sha256='bd954c0588f0f7e81d9763dc95e06950e68247d540476e06cb77bcbcd8c2d8b3')
version('0.14.2', sha256='1afd0b84eefd77afd1071c5c1c402553d67be2d7db8950b32d6f773f25850c1f')
version('0.12.3', sha256='82da192f0e524701e89c5379c79200bc6dc21373f48bf7778a864c583897d7c7')
extends('python', ignore=r'bin/.*\.py$')
depends_on('python@3.6:', when='@0.16.1:')
depends_on('python@3.7:', when='@0.18:', type=('build', 'link', 'run'))
depends_on('python@3.6:', when='@0.16.1:', type=('build', 'link', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-cython@0.23.4:', type='build')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-numpy@1.14.1:', type=('build', 'run'), when='@0.16.1:')
depends_on('py-numpy@1.15.1:', type=('build', 'run'), when='@0.17.1:')
depends_on('py-numpy@1.14.1:', type=('build', 'link', 'run'), when='@0.16.1:')
depends_on('py-numpy@1.15.1:', type=('build', 'link', 'run'), when='@0.17.1:')
depends_on('py-numpy@1.16.5:', type=('build', 'link', 'run'), when='@0.18:')
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-scipy@0.19.0:', type=('build', 'run'), when='@0.16.1:')
depends_on('py-scipy@1.0.1:', type=('build', 'run'), when='@0.17.1:')