summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-minio/package.py
blob: 92f1c5aa9775ada2388ab2a6e2a9f7e0e899e202 (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-2022 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"

    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'))