From 9fd870388cfede2291e8e88be8d3d18fd4f80426 Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Mon, 24 Jan 2022 20:26:31 +0100 Subject: py-lazyarray: add versions from 0.3.3 to 0.5.2 (#28574) * py-lazyarray: add versions from 0.3.3 to 0.5.2 * Restore py-setuptools dependency since pip replaces distutils with setuptools --- .../repos/builtin/packages/py-lazyarray/package.py | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-lazyarray/package.py b/var/spack/repos/builtin/packages/py-lazyarray/package.py index d2fda7fb03..df0a76f10b 100644 --- a/var/spack/repos/builtin/packages/py-lazyarray/package.py +++ b/var/spack/repos/builtin/packages/py-lazyarray/package.py @@ -13,15 +13,25 @@ class PyLazyarray(PythonPackage): homepage = "https://lazyarray.readthedocs.io/en/latest/" pypi = "lazyarray/lazyarray-0.2.8.tar.gz" + version('0.5.2', sha256='fe31804d82115ed7c382840a1708f498419ec1455cac084707ece9908310c7d1') + version('0.5.1', sha256='76964dd1384a6d020ae0e70806983d15d8fcd731734063f716696ebe300ab0af') + version('0.5.0', sha256='4cc4b54940def52fd96818a1c10528c4b7ecca77aa617d9e4fecfb42b51e73cf') + version('0.4.0', sha256='837cfe001840be43339d4c10d0028a70a8b3c22be08b75429a38472cbf327976') + version('0.3.4', sha256='357e80db7472c940ed3cab873544f2b7028f6ade8737adde2c91f91aeab2835a') + version('0.3.3', sha256='c9df003af5e1007a28c4ec45f995662fd195590d5694ef7d4cfb028bc508f6ed') version('0.3.2', sha256='be980534c5950a976709085570f69be9534bdf0f3e5c21a9113de3ee2052683e') version('0.2.10', sha256='7a53f81b5f3a098c04003d2ad179fc197451fd96bc921510f8534c6af8cc8e19') version('0.2.8', sha256='aaee4e18117cc512de7a4e64522f37bc6f4bf125ecffdbdbf4e4e390fbdd9ba2') # Required versions come from doc/installation.txt or: # https://lazyarray.readthedocs.io/en/latest/installation.html#dependencies - depends_on('python@2.7:', when='@0.3:', type=('build', 'run')) + depends_on('python@2.7:3.9', type=('build', 'run'), when='@0.3:0.3.4') + depends_on('python@3.4:3.9', type=('build', 'run'), when='@0.4:0.5.1') + depends_on('python@3.6:', type=('build', 'run'), when='@0.5.2:') + depends_on('py-numpy@1.3:', type=('build', 'run'), when='@:0.2.10^python@:2') + depends_on('py-numpy@1.5:', type=('build', 'run'), when='@:0.2.10^python@3:') + depends_on('py-numpy@1.8:', type=('build', 'run'), when='@0.3:0.3.4^python@:2') + depends_on('py-numpy@1.12:', type=('build', 'run'), when='@0.3:0.5.1^python@3:') + depends_on('py-numpy@1.13:', type=('build', 'run'), when='@0.5.2:') + depends_on('py-setuptools', type='build') - depends_on('py-numpy@1.3:', type=('build', 'run')) - depends_on('py-numpy@1.8:', type=('build', 'run'), when='@0.3:') - depends_on('py-numpy@1.5:', type=('build', 'run'), when='^python@3:') - depends_on('py-numpy@1.12:', type=('build', 'run'), when='@0.3:^python@3:') -- cgit v1.2.3-70-g09d2