Add py-google-auth package (#12256)

This commit is contained in:
Adam J. Stewart 2019-08-02 23:34:32 -05:00 committed by GitHub
parent 8b270290c4
commit ccc4af4bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,23 @@
# 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 PyGoogleAuth(PythonPackage):
"""This library simplifies using Googles various server-to-server
authentication mechanisms to access Google APIs."""
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python"
url = "https://pypi.io/packages/source/g/google-auth/google-auth-1.6.3.tar.gz"
version('1.6.3', sha256='0f7c6a64927d34c1a474da92cfc59e552a5d3b940d3266606c6a28b72888b9e4')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pyasn1-modules@0.2.1:', type=('build', 'run'))
depends_on('py-rsa@3.1.4:', type=('build', 'run'))
depends_on('py-six@1.9.0:', type=('build', 'run'))
depends_on('py-cachetools@2.0.0:', type=('build', 'run'))