# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-minio
pkgver=7.2.7
pkgrel=0
pkgdesc="MinIO Python Library for Amazon S3 Compatible Cloud Storage"
url="https://pypi.org/project/minio/"
arch="noarch"
license="Apache-2.0"
depends="
py3-argon2-cffi
py3-certifi
py3-dateutil
py3-pycryptodome
py3-tz
py3-urllib3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-mock py3-nose py3-faker"
source="$pkgname-$pkgver.tar.gz::https://github.com/minio/minio-py/archive/$pkgver.tar.gz"
builddir="$srcdir/minio-py-${pkgver}"
options="!check" # requires network
build() {
python3 setup.py build
}
check() {
pytest-3
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="
bc77f6cf8a55507ec32f2cf104c54c017fb2c5889ffe558159e8889b2837a6e88b60c350030aced91919c6f45334c2e9c9ddee909cd7a36c2a975889dd26edcb py3-minio-7.2.7.tar.gz
"