From d25455277b5ce5d0d30ca5a44ae091bd636c5831 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Mon, 10 May 2021 20:57:05 -0400 Subject: [PATCH] [py-pyjwt] added version 2.1.0 (#23547) --- var/spack/repos/builtin/packages/py-pyjwt/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/py-pyjwt/package.py b/var/spack/repos/builtin/packages/py-pyjwt/package.py index debff4d760..e8e86ac83f 100644 --- a/var/spack/repos/builtin/packages/py-pyjwt/package.py +++ b/var/spack/repos/builtin/packages/py-pyjwt/package.py @@ -12,10 +12,13 @@ class PyPyjwt(PythonPackage): homepage = "https://github.com/jpadilla/pyjwt" pypi = "PyJWT/PyJWT-1.7.1.tar.gz" + version('2.1.0', sha256='fba44e7898bbca160a2b2b501f492824fc8382485d3a6f11ba5d0c1937ce6130') version('1.7.1', sha256='8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96') variant('crypto', default=False, description='Build with cryptography support') depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('python@3.6:', when='@2.1.0:', type=('build', 'run')) depends_on('py-setuptools', type='build') depends_on('py-cryptography@1.4:', when='+crypto', type=('build', 'run')) + depends_on('py-cryptography@3.3.1:3.999', when='@2.1.0:+crypto', type=('build', 'run'))