1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-zstandard/APKBUILD
2023-02-21 19:00:14 +01:00

32 lines
980 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-zstandard
pkgver=0.20.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="
bdbbd829e431a9b1ad1247b83e2e6102314a257a32c92a5c666c5ac050eb115bccd9d358240ac9ab41e975ade13bbbc155c66cb8fb583d2ee8dbd28ae323e4f8 py3-zstandard-0.20.0.tar.gz
"