python-jsonrpclib: add python3 module

This commit is contained in:
lemmi 2018-01-07 13:05:54 +01:00
parent b00fb00cdc
commit a1819ffcb6
2 changed files with 20 additions and 9 deletions

View file

@ -1,16 +1,26 @@
# Template file for 'python-jsonrpclib'
pkgname=python-jsonrpclib
version=0.1.7
revision=1
version=0.3.1
revision=2
noarch=yes
wrksrc="jsonrpclib-${version}"
build_style=python2-module
wrksrc="jsonrpclib-pelix-${version}"
build_style=python-module
pycompile_module="jsonrpclib"
hostmakedepends="python-setuptools"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python implementation of the JSON-RPC v2.0 specification"
short_desc="Python2 implementation of the JSON-RPC v2.0 specification"
maintainer="Charles E. Lehner <cel@celehner.com>"
homepage="http://github.com/joshmarshall/jsonrpclib/"
homepage="https://github.com/tcalmant/jsonrpclib"
license="Apache-2.0"
distfiles="${PYPI_SITE}/j/jsonrpclib/jsonrpclib-${version}.tar.gz"
checksum=7f50239d53b5e95b94455d5e1adae70592b5b71f0e960d3bbbfbb125788e6f0b
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*
}
}

1
srcpkgs/python3-jsonrpclib Symbolic link
View file

@ -0,0 +1 @@
python-jsonrpclib/