Add new package: py-openidc-client (#23277)

This commit is contained in:
darmac 2021-04-29 23:15:01 +08:00 committed by GitHub
parent adc55498d3
commit 3959da5a68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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