~dricottone/huttese-apk

ref: bdea36c179f301f01d8d80fa8d12213eabd89053 huttese-apk/sr.ht/py3-minio/APKBUILD -rw-r--r-- 842 bytes
bdea36c1 — Drew DeVault py3-minio: upgrade to 7.0.1 3 years ago
                                                                                
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=7.0.1
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="cc7ee8b0d617dbf6af72858b371ff0393ea3490d9f3a31f7e2abbbc794fae24038747082b08dea2a737b516b72ca47c958a51385313e10b69eb9efac3de10e81  py3-minio-7.0.1.tar.gz"