aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-zstandard/APKBUILD
blob: 998d2f07049081caa0574af9acc48c03d5acdad2 (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
29
30
31
32
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-zstandard
pkgver=0.18.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="
d573da893e3a372143271c7d9dec15cd4e9dd7355d2069e283df8b3feadbf999dddcc0aa37a2831a370526b2b045497f46326dcf13d3680dd8ee624bca1e7666  py3-zstandard-0.18.0.tar.gz
"