23 lines
656 B
Bash
23 lines
656 B
Bash
# Template file for 'python3-jsonrpc-server'
|
|
pkgname=python3-jsonrpc-server
|
|
version=0.4.0
|
|
revision=1
|
|
wrksrc="${pkgname/3}-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-ultrajson"
|
|
short_desc="Python library implementing asynchronous JSON RPC server"
|
|
maintainer="k4leg <d0xi@inbox.ru>"
|
|
license="MIT"
|
|
homepage="https://github.com/palantir/python-jsonrpc-server"
|
|
distfiles="${PYPI_SITE}/p/${pkgname/3}/${pkgname/3}-${version}.tar.gz"
|
|
checksum=62c543e541f101ec5b57dc654efc212d2c2e3ea47ff6f54b2e7dcb36ecf20595
|
|
|
|
post_patch() {
|
|
vsed -i setup.py -e 's/\bujson<=1\.35\b/ujson/'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|