aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyro4/APKBUILD
blob: b5747223150216a6c4249141b067acc60ce53b92 (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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyro4
_pyname=Pyro4
pkgver=4.79
pkgrel=0
pkgdesc="Python remote objects"
url="http://pyro4.readthedocs.io/"
arch="noarch !s390x !mips !mips64" # 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" # Backwards compatibility
provides="py-pyro4=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="03e75537c7943e1044b7e6623ead934e3004b023ffc6d364472868e0895e3819c4b3c92d1610018ab1466262f32681e69a91d360c33b17e687861c8c742bdf72  Pyro4-4.79.tar.gz"