mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
947 B
Text
33 lines
947 B
Text
# 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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
718b9a8a49b6f936635ea8e500d16b8d3f42a28e44c4d0bb2bf1e648063ab1107edca93b4f178600a0b36d2e0584cf531f6e9721f5ed6967ea9a160c923103f3 jsonrpclib-0.4.3.2.tar.gz
|
|
"
|