diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyjwt/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyjwt/package.py b/var/spack/repos/builtin/packages/py-pyjwt/package.py new file mode 100644 index 0000000000..eaa8babb53 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyjwt/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyPyjwt(PythonPackage): + """JSON Web Token implementation in Python""" + + homepage = "https://github.com/jpadilla/pyjwt" + url = "https://pypi.io/packages/source/P/PyJWT/PyJWT-1.7.1.tar.gz" + + version('1.7.1', sha256='8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96') + + depends_on('py-setuptools', type='build') + depends_on('py-pytest@4.0.1:4.99.99', type='test') + depends_on('py-pytest-cov@2.6.0:2.99.99', type='test') + depends_on('py-pytest-runner@4.2:4.99', type='test') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) |