void-packages/srcpkgs/python3-py7zr/template

25 lines
1.2 KiB
Bash

# Template file for 'python3-py7zr'
pkgname=python3-py7zr
version=0.20.5
revision=2
build_style=python3-pep517
# - test_concurrent.py fails on timeout. This test downloads several different
# 7z archives; likely failing due to slow download or dead links -
# tests/test_misc.py::test_extract_high_compression_rate fails only in chroot,
# but passes when run on my system
make_check_args="--ignore=tests/test_benchmark.py --noconftest
--ignore=tests/test_concurrent.py
--deselect=tests/test_misc.py::test_extract_high_compression_rate"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-texttable python3-pycryptodomex python3-Brotli python3-psutil
python3-pyzstd python3-pyppmd python3-pybcj python3-multivolumefile
python3-inflate64"
checkdepends="python3-pytest python3-pytest-timeout python3-py-cpuinfo $depends"
short_desc="7zip in python3 with various compressions, and AES encryption"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="LGPL-2.1-or-later"
homepage="https://github.com/miurahr/py7zr"
changelog="https://raw.githubusercontent.com/miurahr/py7zr/master/docs/Changelog.rst"
distfiles="${PYPI_SITE}/p/py7zr/py7zr-${version}.tar.gz"
checksum=6fb4889c0fa32581818a3366984083253585d6c794e82c3242b8a12d6aeaabd3