New package: py-pyjwt (#12532)

This commit is contained in:
Sinan 2019-08-26 15:45:56 -07:00 committed by Peter Scheibel
parent 0ec55b093e
commit 411b011578

View File

@ -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'))