# Template file for 'python3-pytools'
pkgname=python3-pytools
version=2024.1.20
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"
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=649fc68eb9568c80f676dbf3256b38e2a5783a538ffc700db74e14946c50d7d3

post_install() {
	vlicense LICENSE
}
