mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
30 lines
833 B
Text
30 lines
833 B
Text
# 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
|
|
"
|