summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-11-13 13:22:27 +0100
committerGitHub <noreply@github.com>2021-11-13 05:22:27 -0700
commit984715e859c701c28499d495b9e9be341a7cbcc0 (patch)
treecd7fe7a3b41e016b3c71d673ac608a14709f39f6
parent31fec1f7305bd3d33128ea55e0eb8bc9a49be02f (diff)
downloadspack-984715e859c701c28499d495b9e9be341a7cbcc0.tar.gz
spack-984715e859c701c28499d495b9e9be341a7cbcc0.tar.bz2
spack-984715e859c701c28499d495b9e9be341a7cbcc0.tar.xz
spack-984715e859c701c28499d495b9e9be341a7cbcc0.zip
py-imageio: add 2.10.3 (#27431)
-rw-r--r--var/spack/repos/builtin/packages/py-imageio/package.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-imageio/package.py b/var/spack/repos/builtin/packages/py-imageio/package.py
index b69b0e3ae4..acd47c85c9 100644
--- a/var/spack/repos/builtin/packages/py-imageio/package.py
+++ b/var/spack/repos/builtin/packages/py-imageio/package.py
@@ -7,14 +7,17 @@ from spack import *
class PyImageio(PythonPackage):
- """ Imageio is a Python library that provides an easy interface
+ """ Python library for reading and writing image data.
+
+ Imageio is a Python library that provides an easy interface
to read and write a wide range of image data, including animated
images, video, volumetric data, and scientific formats. It is
cross-platform, runs on Python 2.7 and 3.4+, and is easy to install."""
- homepage = "https://imageio.github.io/"
+ homepage = "https://github.com/imageio/imageio"
pypi = "imageio/imageio-2.3.0.tar.gz"
+ version('2.10.3', sha256='469c59fe71c81cdc41c84f842d62dd2739a08fac8cb85f5a518a92a6227e2ed6')
version('2.9.0', sha256='52ddbaeca2dccf53ba2d6dec5676ca7bc3b2403ef8b37f7da78b7654bb3e10f0')
version('2.5.0', sha256='42e65aadfc3d57a1043615c92bdf6319b67589e49a0aae2b985b82144aceacad')
version('2.4.1', sha256='16b8077bc8a5fa7a58b3e744f7ecbb156d8c088132df31e0f4f546c98de3514a')
@@ -23,9 +26,10 @@ class PyImageio(PythonPackage):
# TODO: Add variants for plugins, and optional dependencies
# Fix for python 2 if needed.
- depends_on('py-numpy', type=('build', 'run'))
- depends_on('pil', type=('build', 'run'))
- depends_on('python@2.7:2.8,3.4:', type=('build', 'run'), when='@:2.5.0')
- depends_on('python@3.5:', type=('build', 'run'), when='@2.9.0:')
- depends_on('py-setuptools', type='build')
- depends_on('ffmpeg', type='run')
+ depends_on('python@3.5:', when='@2.9.0:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.4:', when='@:2.5.0', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('pil@8.3.2:', when='@2.10:', type=('build', 'run'))
+ depends_on('pil', type=('build', 'run'))
+ depends_on('ffmpeg', type='run')