aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyro4/APKBUILD
blob: a4395b8b4769cb9ab4047e373e6dcd765b8d8116 (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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyro4
_pyname=Pyro4
pkgver=4.76
pkgrel=0
pkgdesc="Python remote objects"
url="http://pyro4.readthedocs.io/"
arch="noarch !s390x" # Limited by py3-dill
license="MIT"
depends="py3-serpent"
makedepends="python3 py3-setuptools"
checkdepends="py3-msgpack py3-dill py3-cloudpickle"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir=$srcdir/$_pyname-$pkgver
replaces="py-pyro4 py2-pyro4"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="48cc63bc74d483fff1b4bac2dd9ecf7576503bfd91e721512a5cea2b5a115ad6480ad0524218aee31e412a867261a9e838d85650dd0f7a87593a4a03cfc5cdc3  Pyro4-4.76.tar.gz"