diff options
author | prspkt <prspkt@protonmail.com> | 2019-08-22 20:59:21 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-08-22 20:59:25 +0300 |
commit | b07864e63065274e8222394ae04d068371d7a36a (patch) | |
tree | 69a4d3613035aed79671db3468e6f2b8f2bfbd74 /community/py3-jsonrpclib | |
parent | 3c4e0a2bbfe5c6659c223feb88481e495d0ad68e (diff) | |
download | aports-b07864e63065274e8222394ae04d068371d7a36a.tar.bz2 aports-b07864e63065274e8222394ae04d068371d7a36a.tar.xz |
community/py-jsonrpclib: drop python2
Signed-off-by: prspkt <prspkt@protonmail.com>
Diffstat (limited to 'community/py3-jsonrpclib')
-rw-r--r-- | community/py3-jsonrpclib/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-jsonrpclib/APKBUILD b/community/py3-jsonrpclib/APKBUILD new file mode 100644 index 0000000000..218a7c11ab --- /dev/null +++ b/community/py3-jsonrpclib/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=py3-jsonrpclib +_pkgname=jsonrpclib +pkgver=0.4.0 +pkgrel=2 +pkgdesc="A 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="357743e34447cd6dbe330c5adfa5541134a0ff8d82549ec47ed741ddf54a7aabb8cd417c501cb9ab814ce2cb90e1c2d4d4f21daac3b379f38be03c38a7ed198b jsonrpclib-0.4.0.tar.gz" |