~dricottone/huttese-apk

ref: 60e88d2b46f96963aa60c0b6297468cc563e3c79 huttese-apk/sr.ht/py3-minio/APKBUILD -rw-r--r-- 828 bytes
60e88d2b — Drew DeVault py3-kombu: upgrade to 5.2.4 2 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
29
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-minio
pkgver=7.1.3
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-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="
2e94396ad53013b48dd5595b259d3a31e4d7420d3c30b2f168521013dbc2fd9c9530db434ac78d55804ca842cec6ed464349a8f4356793f5321fc1ce1ad10c71  py3-minio-7.1.3.tar.gz
"