summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-26 15:45:56 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-26 15:45:56 -0700
commit411b011578373ad42fcf65191dcd023a9f3839f6 (patch)
treef046dc824fd85550b13fb2d1aaab3287cd0d0177
parent0ec55b093e0b95d0e4f443f3a74986f2fc9b2f45 (diff)
downloadspack-411b011578373ad42fcf65191dcd023a9f3839f6.tar.gz
spack-411b011578373ad42fcf65191dcd023a9f3839f6.tar.bz2
spack-411b011578373ad42fcf65191dcd023a9f3839f6.tar.xz
spack-411b011578373ad42fcf65191dcd023a9f3839f6.zip
New package: py-pyjwt (#12532)
-rw-r--r--var/spack/repos/builtin/packages/py-pyjwt/package.py21
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'))