aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-mygpoclient/APKBUILD
blob: ffa4f2ce10861c5faf572c8daa7da0fbdd2beac3 (plain) (blame)
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
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
# Contributor: Johannes Marbach <n0-0ne+gitlab@mailbox.org>
pkgname=py3-mygpoclient
pkgver=1.8
pkgrel=2
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"