# Template file for 'python3-cattrs' pkgname=python3-cattrs version=24.1.3 revision=1 build_style=python3-pep517 # Initial ignores require unpackaged dependencies; # deselections and subsequent ignores do invalid NaN comparisons make_check_args="--ignore tests/test_cols.py --ignore tests/test_preconf.py --ignore tests/preconf/test_msgspec_cpython.py --ignore tests/preconf/test_pyyaml.py --ignore tests/test_unstructure_collections.py --deselect tests/test_gen_dict.py::test_individual_overrides --deselect tests/test_gen_dict.py::test_nodefs_generated_unstructuring_cl --deselect tests/test_gen_dict.py::test_renaming --deselect tests/test_gen_dict.py::test_unmodified_generated_structuring --deselect tests/test_structure_attrs.py::test_structure_simple_from_dict_default --ignore tests/test_baseconverter.py --ignore tests/test_converter.py" make_check_target="tests" hostmakedepends="hatchling hatch-vcs" depends="python3-attrs" checkdepends="python3-pytest-xdist python3-hypothesis ${depends}" short_desc="Composable custom class converters for Python" maintainer="Andrew J. Hesford " license="MIT" homepage="https://catt.rs" changelog="https://github.com/python-attrs/cattrs/blob/main/HISTORY.md" distfiles="${PYPI_SITE}/c/cattrs/cattrs-${version}.tar.gz" checksum=981a6ef05875b5bb0c7fb68885546186d306f10f0f6718fe9b96c226e68821ff pre_check() { vsed -i -e '/addopts/d' pyproject.toml } post_install() { vlicense LICENSE }