From 411b011578373ad42fcf65191dcd023a9f3839f6 Mon Sep 17 00:00:00 2001 From: Sinan Date: Mon, 26 Aug 2019 15:45:56 -0700 Subject: New package: py-pyjwt (#12532) --- .../repos/builtin/packages/py-pyjwt/package.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pyjwt/package.py 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')) -- cgit v1.2.3-60-g2f50