diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-10 11:51:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-10 11:51:27 -0500 |
commit | 3c54e555460607e5c3680eb54e339c766c269e24 (patch) | |
tree | f3990a77d39333482fcc589e9f06d412559cd68f | |
parent | a3cc7eb4f779cc254d779709f339725dbbcb6fad (diff) | |
download | spack-3c54e555460607e5c3680eb54e339c766c269e24.tar.gz spack-3c54e555460607e5c3680eb54e339c766c269e24.tar.bz2 spack-3c54e555460607e5c3680eb54e339c766c269e24.tar.xz spack-3c54e555460607e5c3680eb54e339c766c269e24.zip |
Add py-google-cloud-storage package (#12370)
-rw-r--r-- | var/spack/repos/builtin/packages/py-google-cloud-storage/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py b/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py new file mode 100644 index 0000000000..8a54d19958 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py @@ -0,0 +1,21 @@ +# 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 PyGoogleCloudStorage(PythonPackage): + """Google Cloud Storage API client library.""" + + homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python" + url = "https://pypi.io/packages/source/g/google-cloud-storage/google-cloud-storage-1.18.0.tar.gz" + + version('1.18.0', sha256='9fb3dc68948f4c893c2b16f5a3db3daea2d2f3b8e9d5c2d505fe1523758009b6') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-google-auth@1.2.0:', type=('build', 'run')) + depends_on('py-google-cloud-core@1.0:1.999', type=('build', 'run')) + depends_on('py-google-resumable-media@0.3.1:', type=('build', 'run')) |