summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-gcs-oauth2-boto-plugin/package.py
blob: 12f30744695affc3120028ac54b7c640b638bdbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2013-2024 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.package 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")

    license("Apache-2.0")

    version("3.0", sha256="f4120b08b7f8d32904674c98f07d4caf4083a58343c0c0fa0016e0f0254dfe31")
    version("2.7", sha256="c95b011717911a6c40fbd3aa07a8faa0ab57570dee178d7148531327c4c6f93e")

    depends_on("py-setuptools", type="build")

    depends_on("py-rsa@4.7.2", when="@3:", type=("build", "run"))
    depends_on("py-boto@2.29.1:", type=("build", "run"))
    depends_on("py-google-reauth@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"))