~dricottone/huttese-apk

ref: 13006260611688e444ddfa42918304282148238b huttese-apk/pkgsrc/py3-minio/APKBUILD -rw-r--r-- 830 bytes
13006260Dominic Ricottone Major updates 1 year, 8 months ago
                                                                                
af2975db Drew DeVault
d7cab0e4 Drew DeVault
af2975db Drew DeVault
c4b1be97 Drew DeVault
af2975db Drew DeVault
96cb27d7 Drew DeVault
af2975db Drew DeVault
c4b1be97 Drew DeVault
c4b1be97 Drew DeVault
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.12
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="
a295c1988bce1f4e2dad735f5ed69ed3e49cc4be5d9b001908e68945ae965a85a4c683efa44400a5160098607c4ff21d740700b4480960873a051fe45cff29f1  py3-minio-7.1.12.tar.gz
"