# Template file for 'python-jsonrpclib'
pkgname=python-jsonrpclib
version=0.3.1
revision=2
noarch=yes
wrksrc="jsonrpclib-pelix-${version}"
build_style=python-module
pycompile_module="jsonrpclib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 implementation of the JSON-RPC v2.0 specification"
maintainer="Charles E. Lehner <cel@celehner.com>"
homepage="https://github.com/tcalmant/jsonrpclib"
license="Apache-2.0"
distfiles="${PYPI_SITE}/j/jsonrpclib-pelix/jsonrpclib-pelix-${version}.tar.gz"
checksum=5417b1508d5a50ec64f6e5b88907f111155d52607b218ff3ba9a777afb2e49e3

python3-jsonrpclib_package() {
	noarch=yes
	depends="python3"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}

