diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-10-01 13:08:16 +0000 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-10-01 13:08:16 +0000 |
commit | 567750860709b07eb7a1b3d37c902ba3eae45469 (patch) | |
tree | beff15f9d081e905de15a0b70b30f8d0d17c4608 /nextcloud-api-wrapper | |
parent | 37a16ee5ca054f4f667635301ec3ea214247bb1b (diff) | |
download | apkbuilds-567750860709b07eb7a1b3d37c902ba3eae45469.tar.gz apkbuilds-567750860709b07eb7a1b3d37c902ba3eae45469.tar.bz2 apkbuilds-567750860709b07eb7a1b3d37c902ba3eae45469.zip |
feat: Add nextcloud-api-wrapper
Diffstat (limited to 'nextcloud-api-wrapper')
-rw-r--r-- | nextcloud-api-wrapper/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nextcloud-api-wrapper/APKBUILD b/nextcloud-api-wrapper/APKBUILD new file mode 100644 index 0000000..2e6672a --- /dev/null +++ b/nextcloud-api-wrapper/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> +pkgname=py3-nextcloud-api-wrapper +_pkgorig=nextcloud-API +pkgver=0.2.3 +pkgrel=0 +pkgdesc="Python wrapper for NextCloud api" +url="https://github.com/luffah/nextcloud-API" +arch="noarch" +license="GPL3" +option="!check" #check requires docker +depends="python3 py3-requests" +makedepends="python3-dev py3-setuptools_scm" +source="$pkgname-$pkgver.tar.gz::https://github.com/luffah/nextcloud-API/archive/refs/tags/$pkgver.tar.gz" +builddir="$srcdir/$_pkgorig-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +71200082db3ca9069284931123fa184921c1d8ae0037d51763e9146a1aabac33c791fbcb766071921718fc8aefb32ca403e6c80c4c3890e37699d10877dbb6df py3-nextcloud-api-wrapper-0.2.3.tar.gz +" |