apkbuilds @ e73a50263de75a541e481c3f5949ed0f8eaa403a

 1# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
 2pkgname=py3-nextcloud-api-wrapper
 3_pkgorig=nextcloud-API
 4pkgver=0.2.3
 5pkgrel=0
 6pkgdesc="Python wrapper for NextCloud api"
 7url="https://github.com/luffah/nextcloud-API"
 8arch="noarch"
 9license="GPL-3.0"
10option="!check" #check requires docker
11depends="python3 py3-requests"
12makedepends="python3-dev py3-setuptools_scm"
13source="$pkgname-$pkgver.tar.gz::https://github.com/luffah/nextcloud-API/archive/refs/tags/$pkgver.tar.gz"
14builddir="$srcdir/$_pkgorig-$pkgver"
15
16build() {
17	python3 setup.py build
18}
19
20package() {
21	python3 setup.py install --prefix=/usr --root="$pkgdir"
22}
23
24sha512sums="
2571200082db3ca9069284931123fa184921c1d8ae0037d51763e9146a1aabac33c791fbcb766071921718fc8aefb32ca403e6c80c4c3890e37699d10877dbb6df  py3-nextcloud-api-wrapper-0.2.3.tar.gz
26"