aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-mygpoclient/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-mygpoclient/APKBUILD')
-rw-r--r--community/py3-mygpoclient/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-mygpoclient/APKBUILD b/community/py3-mygpoclient/APKBUILD
new file mode 100644
index 0000000000..80bdb1d438
--- /dev/null
+++ b/community/py3-mygpoclient/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
+# Contributor: Johannes Marbach <n0-0ne+gitlab@mailbox.org>
+pkgname=py3-mygpoclient
+pkgver=1.8
+pkgrel=1
+pkgdesc="Python Client Library for gpodder.net"
+url="https://github.com/gpodder/mygpoclient"
+arch="noarch"
+license="GPL-3.0-or-later"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-nose py3-pytest py3-pytest-cov py3-minimock"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/gpodder/mygpoclient/archive/$pkgver.tar.gz"
+builddir="$srcdir/mygpoclient-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ make test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="1edecd5ccb116c7f4017ebe6572439d87ff76501ed0628934e548dc0c9c041127a11ec9f4def4a54a6f7fabe46a461c863ec2ff2f8c14c3c67b5d1fd9285bb9f py3-mygpoclient-1.8.tar.gz"