[py-openslide-python] added verion 1.1.2 (#30722)

* [py-openslide-python] added verion 1.1.2 and set max py-setuptools version for 1.1.1

* [py-openslide-python]

- setuptools required for all possible newer versions
- python is type build run

* [py-openslide-python] use pil provider
This commit is contained in:
Jen Herting 2022-05-20 15:25:20 -04:00 committed by GitHub
parent 74bef2105a
commit 91a99882b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,12 @@ class PyOpenslidePython(PythonPackage):
homepage = "https://github.com/openslide/openslide-python" homepage = "https://github.com/openslide/openslide-python"
url = "https://github.com/openslide/openslide-python/archive/v1.1.1.tar.gz" url = "https://github.com/openslide/openslide-python/archive/v1.1.1.tar.gz"
version('1.1.2', sha256='83e064ab4a29658e7ddf86bf1d3e54d2508cc19ece35d55b55519c826e45d83f')
version('1.1.1', sha256='33c390fe43e3d7d443fafdd66969392d3e9efd2ecd5d4af73c3dbac374485ed5') version('1.1.1', sha256='33c390fe43e3d7d443fafdd66969392d3e9efd2ecd5d4af73c3dbac374485ed5')
depends_on('openslide@3.4.0:') depends_on('openslide@3.4.0:')
depends_on('python@2.6:2.8,3.3:') depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
depends_on('py-setuptools', type='build') # https://github.com/openslide/openslide-python/pull/76
depends_on('py-pillow-simd+jpeg+jpeg2000+tiff', type=('build', 'run')) depends_on('py-setuptools@:45', type='build', when="@1.1.1")
depends_on('py-setuptools', type='build', when="@1.1.2:")
depends_on('pil', type=('build', 'run'))