aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-raet/APKBUILD
blob: 952d6060117a676717c58e0f7770e6e4906e00f2 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-raet
_pkgname=raet
pkgver=0.3.3
pkgrel=0
pkgdesc="Reliable Asynchronous Event Transport Protocol"
url="https://github.com/RaetProtocol/raet"
arch="noarch"
license="Apache-2.0"
replaces="py-raet" # for backwards compatibility
provides="py-raet=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3 py3-libnacl py3-ioflo"
makedepends="py3-setuptools-git"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="4c0a062d5e93802e385a4b2f26d14b2e44f5e9cf29f897dcffb0eb8441c2c65745bbc8dfad1b3e6f693f2b39b63af48941851f70dbce5d731dea96f21784af4d  raet-0.3.3.tar.gz"