name='python3-zstandard' version='0.24.0' release='2' desc='Zstandard bindings for Python.' desc_ru='Привязки Python к библиотеке сжатия Zstandard' homepage='https://github.com/indygreg/python-zstandard' maintainer='Evgeny Khramov ' maintainer_ru='Евгений Храмов ' architectures=('all') license=('BSD') provides=('zstandard' 'python3-zstandard') conflicts=('zstandard' 'python3-zstandard') deps=('python3' 'zstd') deps_alt=('python3' 'zstd') deps_arch=('python' 'zstd') deps_debian=('python3' 'libzstd1') deps_fedora=('python3' 'libzstd') deps_redos=("${deps_fedora[@]}") deps_rhel=("${deps_fedora[@]}") deps_rosa=("${deps_fedora[@]}") deps_alpine=('python3' 'zstd') build_deps=('python3' 'python3-build' 'python3-installer' 'zstd-devel') build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer' 'libzstd-devel') build_deps_arch=('python' 'python-build' 'python-installer' 'zstd') build_deps_debian=('python3' 'python3-build' 'python3-installer' 'libzstd-dev') build_deps_fedora=('python3' 'python3-build' 'python3-installer' 'libzstd-devel') build_deps_redos=("${build_deps_fedora[@]}") build_deps_rhel=("${build_deps_fedora[@]}") build_deps_rosa=("${build_deps_fedora[@]}") build_deps_alpine=('python3' 'py3-build' 'py3-installer' 'zstd-dev') sources=("https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-0.24.0.tar.gz") checksums=('blake2b-256:edf62ac0287b442160a89d726b17a9184a4c615bb5237db763791a7fd16d9df1') build() { cd "$srcdir/zstandard-${version}" python -m build --wheel --no-isolation } package() { cd "$srcdir/zstandard-${version}" python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl } files() { files-find-lib }