1 # Maintainer: Artefact2 <artefact2@gmail.com>
3 pkgname=python2-jsonrpc-bzr
6 pkgdesc="A Python2 JSON-RPC implementation."
7 url="http://json-rpc.org/wiki/python-json-rpc"
12 source=('001-jsonrpc-2.0-no-error-in-response.patch')
13 md5sums=('e1fd9805e8eaeec5ec16c9e83dba5570')
15 _bzrrepo=http://bzr.json-rpc.org/trunk
16 _bzrmod=trunk/python-jsonrpc
21 msg "Connecting to the server...."
23 if [ ! -d ${_bzrmod} ]; then
30 cp -r ${_bzrmod} build
33 msg "BZR checkout done or server timeout"
35 patch -p0 < ${startdir}/001-jsonrpc-2.0-no-error-in-response.patch
37 mkdir -p "$pkgdir/usr/lib/python2.7/site-packages/"
39 python2 setup.py install --install-purelib="$pkgdir/usr/lib/python2.7/site-packages/"