~dricottone/huttese-apk

ref: 75f6893e6ba9f9244ad0ff74ec04ad34ef542302 huttese-apk/sr.ht/py3-minio/APKBUILD -rw-r--r-- 806 bytes
75f6893e — Drew DeVault pushgateway: bump pkgrel 4 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-minio
pkgver=5.0.6
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}"

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="30779d10a4d6dc7b08b4a1f79f032e3e1193e3dc9737257fa6601e48f43203ea7848f7ee697f8dfd4db7a634a67d7977b951cee491a1b96cee1dd8cc66ff141a  py3-minio-5.0.6.tar.gz"