summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2022-02-15 06:50:37 +0100
committerGitHub <noreply@github.com>2022-02-14 22:50:37 -0700
commit30fafa63e0389c4325b75aa708fddf22590b640d (patch)
tree9a038a2b079cfd4e74502d3c55dae39f712f87b8
parent08cad7d0ee37041694ebcbadf095d8d4d23630f0 (diff)
downloadspack-30fafa63e0389c4325b75aa708fddf22590b640d.tar.gz
spack-30fafa63e0389c4325b75aa708fddf22590b640d.tar.bz2
spack-30fafa63e0389c4325b75aa708fddf22590b640d.tar.xz
spack-30fafa63e0389c4325b75aa708fddf22590b640d.zip
py-jsonschema: add 4.4.0 (#28919)
-rw-r--r--var/spack/repos/builtin/packages/py-jsonschema/package.py28
1 files changed, 18 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/py-jsonschema/package.py b/var/spack/repos/builtin/packages/py-jsonschema/package.py
index 978e934c0b..52c3f893fa 100644
--- a/var/spack/repos/builtin/packages/py-jsonschema/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonschema/package.py
@@ -12,6 +12,7 @@ class PyJsonschema(PythonPackage):
homepage = "https://github.com/Julian/jsonschema"
pypi = "jsonschema/jsonschema-3.2.0.tar.gz"
+ version('4.4.0', sha256='636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83')
version('3.2.0', sha256='c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a')
version('3.1.1', sha256='2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f')
version('3.0.2', sha256='8d4a2b7b6c2237e0199c8ea1a6d3e05bf118e289ae2b9d7ba444182a2959560d')
@@ -19,17 +20,24 @@ class PyJsonschema(PythonPackage):
version('2.6.0', sha256='6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02')
version('2.5.1', sha256='36673ac378feed3daa5956276a829699056523d7961027911f064b52255ead41')
- depends_on('python@2.6:2.8,3.4:', type=('build', 'run'))
+ depends_on('python@3.7:', when='@4:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.5:', when='@3:', type=('build', 'run'))
+ depends_on('python@2.6:2.8,3.4:', type=('build', 'run'))
- depends_on('py-setuptools', type='build', when='@:2')
- depends_on('py-setuptools', type=('build', 'run'), when='@3:')
- depends_on('py-vcversioner', type='build', when='@:2')
- depends_on('py-setuptools-scm', type='build', when='@3:')
-
- depends_on('py-functools32', when="^python@:2", type=('build', 'run'))
- depends_on('py-attrs@17.4.0:', when='@3:', type=('build', 'run'))
- depends_on('py-pyrsistent@0.14.0:', when='@3:', type=('build', 'run'))
- depends_on('py-six@1.11.0:', when='@3:', type=('build', 'run'))
+ depends_on('py-setuptools@40.6.0:', when='@4:', type='build')
+ depends_on('py-setuptools', when='@3', type=('build', 'run'))
+ depends_on('py-setuptools', when='@:2', type='build')
+ depends_on('py-vcversioner', when='@:2', type='build')
+ depends_on('py-setuptools-scm+toml@3.4:', when='@4:', type='build')
+ depends_on('py-setuptools-scm', when='@3', type='build')
+ depends_on('py-attrs@17.4:', when='@3:', type=('build', 'run'))
depends_on('py-importlib-metadata', when='@3.1.1: ^python@:3.7', type=('build', 'run'))
+ depends_on('py-importlib-resources@1.4:', when='@4.2.1: ^python@:3.8', type=('build', 'run'))
+ depends_on('py-importlib-resources', when='@4.2.0 ^python@:3.8', type=('build', 'run'))
+ depends_on('py-pyrsistent@0.14:0.16,0.17.3:', when='@4:', type=('build', 'run'))
+ depends_on('py-pyrsistent@0.14:', when='@3', type=('build', 'run'))
+ depends_on('py-typing-extensions', when='@4.3: ^python@:3.7', type=('build', 'run'))
+
+ depends_on('py-six@1.11:', when='@3', type=('build', 'run'))
+ depends_on('py-functools32', when="^python@:2", type=('build', 'run'))