30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'python3-zstandard'
|
|
pkgname=python3-zstandard
|
|
version=0.22.0
|
|
revision=1
|
|
build_style=python3-module
|
|
make_build_args="--system-zstd"
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel libzstd-devel"
|
|
depends="python3"
|
|
checkdepends="python3-hypothesis"
|
|
short_desc="Python bindings to the Zstandard (zstd) compression library"
|
|
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/indygreg/python-zstandard"
|
|
changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst"
|
|
distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz"
|
|
checksum=34ce7ef020afca1344c538a778e2a2e30dc43b11509aa4cb5cf076228d959ca7
|
|
|
|
pre_check() {
|
|
# The skipped test ignored due to failure, see:
|
|
# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
|
|
if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
|
|
vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|