summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-gcsfs/package.py
blob: 34d4d0ee307f3b589e7cea15f4437b994db898c0 (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
# Copyright 2013-2023 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 PyGcsfs(PythonPackage):
    """Pythonic file-system for Google Cloud Storage."""

    homepage = "https://github.com/fsspec/gcsfs"
    pypi = "gcsfs/gcsfs-2023.1.0.tar.gz"

    license("BSD-3-Clause")

    version("2023.1.0", sha256="0a7b7ca8c1affa126a14ba35d7b7dff81c49e2aaceedda9732c7f159a4837a26")

    depends_on("py-setuptools", type="build")
    depends_on("py-aiohttp", type=("build", "run"))
    depends_on("py-decorator@4.1.3:", type=("build", "run"))
    depends_on("py-fsspec@2023.1.0", type=("build", "run"))
    depends_on("py-google-auth@1.2:", type=("build", "run"))
    depends_on("py-google-auth-oauthlib", type=("build", "run"))
    depends_on("py-google-cloud-storage", type=("build", "run"))
    depends_on("py-requests", type=("build", "run"))