blob: d9f4205a95ca89abd21eb0250c7990e39e7a3d67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
pkgname=python-jsonrpcserver
_name=jsonrpcserver
pkgver=4.1.3
pkgrel=1
pkgdesc="Process JSON-RPC requests in Python."
arch=('any')
depends=('python' 'python-apply_defaults' 'python-jsonschema')
makedepends=('python-setuptools' 'python-nose')
url="https://github.com/bcb/jsonrpcserver"
license=('MIT')
options=('!emptydirs')
source=($pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
sha256sums=('649680c293facb6ae7c3f5c8028e4623c55195db5216847e9f25f85cba2d443a')
build() {
cd "$srcdir/$_name-$pkgver"
python setup.py build
}
check(){
cd "$srcdir/$_name-$pkgver"
# For nosetests
nosetests
}
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|