[py-minio] Added py-minio package (#28139)

* [py-minio] Added py-minio package

* [py-minio] added missing dependencies for py-minio

* [py-minio] added type=('build', 'run') in dependencies

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Matthieu Dorier 2021-12-28 18:44:03 +01:00 committed by GitHub
parent 9d5ce4962d
commit cd19782943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,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 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'))