aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-avro/APKBUILD
blob: d66ca5560cc5cdc5be67ddb8e405d7d2b7375bcc (plain) (blame)
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
# Maintainer: Gennady Feldman <gena01@gmail.com>
# Contributor: Gennady Feldman <gena01@gmail.com>
pkgname=py3-avro
_pkgname=avro
pkgver=1.9.1
pkgrel=1
pkgdesc="Avro is a serialization and RPC framework."
url="https://avro.apache.org/"
arch="noarch"
license="Apache-2.0"
depends="py3-six"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::http://github.com/apache/$_pkgname/archive/release-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-release-$pkgver/lang/py3"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="7732ac648b99bede4c57610e2db0bf229e5c672da255c0cd3f09272b0f6d4851fd93e60bc8661a1629fc7140d1596067215108cf5a10d81629bb404f478c68d2  py3-avro-1.9.1.tar.gz"