void-packages/srcpkgs/python3-aiorpcx/template

27 lines
714 B
Bash

# Template file for 'python3-aiorpcx'
pkgname=python3-aiorpcx
version=0.18.4
revision=1
archs=noarch
wrksrc="aiorpcX-${version}"
build_style=python3-module
pycompile_module="aiorpcx"
hostmakedepends="python3-setuptools"
depends="python3-attrs"
checkdepends="${depends} python3-pytest"
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=cfce9d4a6af83d6be8619b2268e57bb21db0a0b36ac29226db580b448c286498
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENCE
}