summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-minio/package.py
blob: fc04f8b1f164e04daaf13f936d6addd1e26df4fd (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
# 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 PyMinio(PythonPackage):
    """MinIO Python SDK is Simple Storage Service (aka S3) client to perform bucket
    and object operations to any Amazon S3 compatible object storage service."""

    homepage = "https://github.com/minio/minio-py"
    pypi = "minio/minio-7.1.2.tar.gz"

    license("Apache-2.0")

    version("7.1.2", sha256="40d0cdb4dba5d5610d6599ea740cf827102db5bfa71279fc220c3cf7305bedc1")

    depends_on("py-setuptools", type="build")
    depends_on("py-certifi", type=("build", "run"))
    depends_on("py-urllib3", type=("build", "run"))