From 3959da5a688b03b4499ecae9f46e022a3c1e9e90 Mon Sep 17 00:00:00 2001 From: darmac Date: Thu, 29 Apr 2021 23:15:01 +0800 Subject: [PATCH] Add new package: py-openidc-client (#23277) --- .../packages/py-openidc-client/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-openidc-client/package.py 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'))