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
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-minio
pkgver=5.0.10
pkgrel=0
pkgdesc="MinIO Python Library for Amazon S3 Compatible Cloud Storage"
url="https://github.com/emersion/python-emailthreads"
arch="noarch"
license="Apache-2.0"
depends="py3-tz py3-dateutil py3-certifi 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="b46420adee06a9752948fbe84059ff2e292cd4083a73e8d47c0b5f38cd66ecd4e9e3e133eeb3a2d6882633a1594b75daa338f4f9a29beb70a26857c55a5d0ee0 py3-minio-5.0.10.tar.gz"