aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-jsonrpc-server/APKBUILD
blob: 3a0e1b25b65333d3d140722f3a122c925f83c3d5 (plain)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname="py3-jsonrpc-server"
pkgver="0.3.4"
pkgrel=0
pkgdesc="A asynchronous JSON RPC server"
url="https://github.com/palantir/python-jsonrpc-server"
arch="noarch"
license="MIT"
depends="python3"
checkdepends="py3-pytest py3-mock"
makedepends="py3-setuptools python3-dev py3-wheel"
source="https://github.com/palantir/python-jsonrpc-server/archive/$pkgver/python-jsonrpc-server-$pkgver.tar.gz"
builddir="$srcdir/python-jsonrpc-server-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="bc19d6d5bab927d5c5e1b1b9cd8dfd46f479c95b7ed05596cd0e0033731699c8b0dc0f7df61608c1e829225470b49e2eadc222db7171d9ae3c2fea11d75de6ec  python-jsonrpc-server-0.3.4.tar.gz"