summaryrefslogtreecommitdiff
path: root/community/py3-aiorpcx/APKBUILD
blob: 8f498a5660320c0997c0332ff4ce38eb189f06da (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
29
30
# Maintainer: Michał Adamski <michal@ert.pl>
pkgname=py3-aiorpcx
pkgver=0.22.1
pkgrel=2
pkgdesc="Generic async RPC implementation, including JSON-RPC"
url="https://github.com/kyuupichan/aiorpcX"
arch="noarch"
license="MIT"
depends="python3 py3-websockets"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-asyncio"
source="https://github.com/kyuupichan/aiorpcX/archive/refs/tags/$pkgver/py3-aiorcpx-$pkgver.tar.gz"
builddir="$srcdir/aiorpcX-$pkgver"
options="net" # checks make network requests

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH=build/lib pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
3484da36ce6042d8d4c6b168fd2326c0fc77a825691b95631e54510697708a27ea07e9a808445d504056432adf04f04cb0bc28d4b7194c55c1995096bb938b4d  py3-aiorcpx-0.22.1.tar.gz
"