summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py
blob: e605b5807690073fdfe6ee1e6c93107b778686c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyGoogleCloudStorage(PythonPackage):
    """Google Cloud Storage API client library."""

    homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"
    pypi = "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'))