summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-scikit-image/package.py
blob: 3f225a17a5521d5ddccb374a797b5afc9f05735d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class PyScikitImage(PythonPackage):
    """Image processing algorithms for SciPy, including IO, morphology,
    filtering, warping, color manipulation, object detection, etc."""

    homepage = "https://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.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', '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:')
    depends_on('py-dask', type=('build', 'run'), when='@:0.14.2')
    depends_on('pil', type=('build', 'run'))
    depends_on('pil@4.3:7.0, 7.1.2:', type=('build', 'run'), when='@0.16:')
    depends_on('py-networkx', type=('build', 'run'))
    depends_on('py-networkx@2.0:', type=('build', 'run'), when='@0.16.1:')
    depends_on('py-six', type=('build', 'run'), when='@:0.15.1')
    depends_on('py-matplotlib', type=('build', 'run'))
    depends_on('py-matplotlib@2.0.0:2.9, 3.0.1:', type=('build', 'run'), when='@0.16.1:')
    depends_on('py-imageio@2.0.1:', type=('build', 'run'), when='@0.15.1:')
    depends_on('py-imageio@2.3.0:', type=('build', 'run'), when='@0.16.1:')
    depends_on('py-tifffile@2019.7.26:', type=('build', 'run'), when='@0.17.1:')
    depends_on('py-pywavelets', type=('build', 'run'), when='@0.14:')
    depends_on('py-pywavelets@1.1.1:', type=('build', 'run'), when='@0.16.1:')