diff --git a/var/spack/repos/builtin/packages/py-argon2-cffi/package.py b/var/spack/repos/builtin/packages/py-argon2-cffi/package.py index 79c81f53eb..915500afd6 100644 --- a/var/spack/repos/builtin/packages/py-argon2-cffi/package.py +++ b/var/spack/repos/builtin/packages/py-argon2-cffi/package.py @@ -10,9 +10,12 @@ class PyArgon2Cffi(PythonPackage): homepage = "https://argon2-cffi.readthedocs.io/" pypi = "argon2-cffi/argon2-cffi-20.1.0.tar.gz" + version('21.1.0', sha256='f710b61103d1a1f692ca3ecbd1373e28aa5e545ac625ba067ff2feca1b2bb870') version('20.1.0', sha256='d8029b2d3e4b4cea770e9e5a0104dd8fa185c1724a0f01528ae4826a6d25f97d') + depends_on('python@2.7:2,3.5:', type=('build', 'run')) + depends_on('python@3.5:', type=('build', 'run'), when='@21.1.0:') depends_on('py-setuptools', type='build') depends_on('py-cffi@1.0.0:', type=('build', 'run')) - depends_on('py-six', type=('build', 'run')) + depends_on('py-six', type=('build', 'run'), when='@:20.1.0') depends_on('py-enum34', when='^python@:3.3', type=('build', 'run'))