void-packages/srcpkgs/python3-aiorpcx/template

26 lines
741 B
Bash

# Template file for 'python3-aiorpcx'
pkgname=python3-aiorpcx
version=0.18.7
revision=1
wrksrc="aiorpcX-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-attrs"
checkdepends="${depends} python3-pytest python3-pytest-asyncio python3-uvloop
python3-websockets iana-etc"
short_desc="Generic async RPC implementation"
maintainer="Christian Buschau <christian.buschau@mailbox.org>"
license="MIT"
homepage="https://github.com/kyuupichan/aiorpcX"
# missing license in PyPI tarball
distfiles="https://github.com/kyuupichan/aiorpcX/archive/${version}.tar.gz"
checksum=ce98d20a22535651c1479dd66a0e68674e1677632cb43e9706908a4c1e04deb9
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENCE
}