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/py-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/py-jsonrpclib')
-rw-r--r-- | community/py-jsonrpclib/APKBUILD | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/community/py-jsonrpclib/APKBUILD b/community/py-jsonrpclib/APKBUILD deleted file mode 100644 index 4ddbfaf114..0000000000 --- a/community/py-jsonrpclib/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py-jsonrpclib -_pkgname=jsonrpclib -pkgver=0.4.0 -pkgrel=1 -pkgdesc="A Python JSON-RPC over HTTP that mirrors xmlrpclib syntax" -url="https://github.com/joshmarshall/jsonrpclib" -arch="noarch" -license="Apache-2.0" -depends="" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2" -source="$pkgname-$pkgver.tar.gz::https://github.com/tcalmant/$_pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - - -check() { - cd "$builddir" - python2 setup.py check - python3 setup.py check -} - -package() { - mkdir -p "$pkgdir" -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -_py2() { - replaces="$pkgname" - _py python2 -} - -_py3() { - _py python3 -} - -sha512sums="357743e34447cd6dbe330c5adfa5541134a0ff8d82549ec47ed741ddf54a7aabb8cd417c501cb9ab814ce2cb90e1c2d4d4f21daac3b379f38be03c38a7ed198b py-jsonrpclib-0.4.0.tar.gz" |