aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-zstandard/APKBUILD
blob: 93d507684e10874ccfefb77afcc6bea93674263b (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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-zstandard
pkgver=0.17.0
pkgrel=0
pkgdesc="Python bindings to the Zstandard (zstd) compression library"
url="https://github.com/indygreg/python-zstandard"
license="BSD-3-Clause"
# armhf: tests fail (bus error)
# s390x: https://github.com/indygreg/python-zstandard/issues/105
arch="all !armhf !s390x"
depends="python3"
makedepends="python3-dev py3-setuptools py3-cffi"
checkdepends="py3-hypothesis"
source="$pkgname-$pkgver.tar.gz::https://github.com/indygreg/python-zstandard/archive/$pkgver.tar.gz"
builddir="$srcdir/python-zstandard-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root="$pkgdir" --skip-build
}

sha512sums="
f635d10fb50754b916ca491580dd7e8e13533ab00fedb649f145a498aac483497c3abc10bfb44584c10c9c0723f00219823ced5af172efdf35c5d135de256a3a  py3-zstandard-0.17.0.tar.gz
"