vp-build/srcpkgs/python-jsonrpclib/template

27 lines
767 B
Bash

# Template file for 'python-jsonrpclib'
pkgname=python-jsonrpclib
version=0.3.2
revision=1
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=14d288d1b3d3273cf96a729dd21a2470851c4962be8509f3dd62f0137ff90339
python3-jsonrpclib_package() {
noarch=yes
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}