summaryrefslogtreecommitdiff
path: root/community/py3-jsonrpclib/APKBUILD
blob: f2eebfa2616dbec275e759c6aa9e59578d037b7b (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
33
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-jsonrpclib
_pkgname=jsonrpclib
pkgver=0.4.3.2
pkgrel=1
pkgdesc="Python JSON-RPC over HTTP that mirrors xmlrpclib syntax"
url="https://github.com/tcalmant/jsonrpclib"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/tcalmant/jsonrpclib/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces=py-jsonrpclib # Backwards compatibility
provides=py-jsonrpclib=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
718b9a8a49b6f936635ea8e500d16b8d3f42a28e44c4d0bb2bf1e648063ab1107edca93b4f178600a0b36d2e0584cf531f6e9721f5ed6967ea9a160c923103f3  jsonrpclib-0.4.3.2.tar.gz
"