summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-openidc-client/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-openidc-client/package.py b/var/spack/repos/builtin/packages/py-openidc-client/package.py
new file mode 100644
index 0000000000..b112133b85
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-openidc-client/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 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 PyOpenidcClient(PythonPackage):
+ """A python OpenID Connect client with token caching and management"""
+
+ homepage = "https://github.com/puiterwijk/python-openidc-client"
+ pypi = "openidc-client/openidc-client-0.6.0.tar.gz"
+
+ version('0.6.0', sha256='680e969cae18c30adbddd6a087ed09f6a296b4937b4c8bc69be813bdbbfa9847')
+ version('0.5.0', sha256='59d59d6fbfd26c5b57c53e582bdf2379274602f96133a163e7ff1ef39c363353')
+ version('0.2.0', sha256='50a1f5abc1960c206a462b3b2f2da1f03abdcb542beb1d6d89d2736def228ab9')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-requests', type=('build', 'run'))