~dricottone/apkbuilds

ref: de512ca534b7f8c089f44eb2c60a82b4c7f87520 apkbuilds/src/py3-minio/APKBUILD -rw-r--r-- 869 bytes
de512ca5Dominic Ricottone sr.ht packages fix a month 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
29
30
31
32
33
34
35
36
37
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-minio
pkgver=7.2.5
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="
25fa8df99e07fd875a358f93d9880b5832f91d15e677f551c576a8075c45c19a868a888c36f7a9ed614b18d7075569a95eb8cb0852f47854e850e4f692fb98c6  py3-minio-7.2.5.tar.gz
"