void-packages/srcpkgs/python3-pytools/template
2025-07-17 08:34:17 -04:00

26 lines
1 KiB
Bash

# Template file for 'python3-pytools'
pkgname=python3-pytools
version=2025.2.2
revision=1
build_style=python3-pep517
# Ignored checks require unpackaged siphash24 package
make_check_args="
--deselect pytools/test/test_persistent_dict.py::test_attrs_hashing
--deselect pytools/test/test_persistent_dict.py::test_class_hashing
--deselect pytools/test/test_persistent_dict.py::test_datetime_hashing
--deselect pytools/test/test_persistent_dict.py::test_dataclass_hashing
--deselect pytools/test/test_persistent_dict.py::test_hash_function
"
hostmakedepends="hatchling"
depends="python3-platformdirs python3-typing_extensions python3-siphash24"
checkdepends="python3-pytest-xdist $depends"
short_desc="Python utilities from Andreas Kloeckner"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="X11"
homepage="https://pypi.org/project/pytools"
distfiles="${PYPI_SITE}/p/pytools/pytools-${version}.tar.gz"
checksum=88ec51d9233b0a2b0935ed7f153457ee70dfd31a5a0ae400f3fc6cdcaf2d43dd
post_install() {
vlicense LICENSE
}