New package: py-gcs-oauth2-boto-plugin (#23969)

* New package: py-gcs-oauth2-boto-plugin

* Dep fixes
This commit is contained in:
Desmond Orton 2021-06-01 21:13:44 -05:00 committed by GitHub
parent b082f12730
commit 90e92bee4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,29 @@
# 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 PyGcsOauth2BotoPlugin(PythonPackage):
"""Auth plugin allowing use the use of OAuth 2.0 credentials
for Google Cloud Storage in the Boto library."""
homepage = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin"
pypi = "gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.7.tar.gz"
maintainers = ['dorton21']
version('2.7', sha256='c95b011717911a6c40fbd3aa07a8faa0ab57570dee178d7148531327c4c6f93e')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-rsa@:4.0', when='^python@:3.4.999', type=('build', 'run'))
depends_on('py-boto@2.29.1:', type=('build', 'run'))
depends_on('py-google-auth@0.1.0:', type=('build', 'run'))
depends_on('py-httplib2@0.18:', type=('build', 'run'))
depends_on('py-oauth2client@2.2.0:', type=('build', 'run'))
depends_on('py-pyopenssl@0.13:', type=('build', 'run'))
depends_on('py-retry-decorator@1.0.0:', type=('build', 'run'))
depends_on('py-six@1.12.0:', type=('build', 'run'))