void-packages/srcpkgs/python-jsonrpclib/template

27 lines
771 B
Bash

# Template file for 'python-jsonrpclib'
pkgname=python-jsonrpclib
version=0.4.0
revision=2
archs=noarch
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>"
license="Apache-2.0"
homepage="https://github.com/tcalmant/jsonrpclib"
distfiles="${PYPI_SITE}/j/jsonrpclib-pelix/jsonrpclib-pelix-${version}.tar.gz"
checksum=19c558e169a51480b39548783067ca55046b62b2409ab4559931255e12f635de
python3-jsonrpclib_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}