void-packages/srcpkgs/python3-pydantic/template

27 lines
1.1 KiB
Bash

# Template file for 'python3-pydantic'
pkgname=python3-pydantic
version=2.8.2
revision=1
build_style=python3-pep517
# 1) requires unpackaged pytest-examples, 2) requires unpackaged cloudpickle
# 3) is already fixed: https://github.com/pydantic/pydantic-core/pull/1286
make_check_args="--ignore=tests/test_docs.py --ignore=tests/test_pickle.py
--deselect=tests/test_discriminated_union.py::test_discriminated_union_model_dump_with_nested_class"
hostmakedepends="hatchling hatch-fancy-pypi-readme"
depends="python3-typing_extensions python3-annotated-types
python3-pydantic-core"
checkdepends="${depends} python3-pytest python3-pytest-benchmark
python3-pytest-mock python3-dirty-equals python3-Faker python3-email-validator
python3-rich"
short_desc="Data parsing and validation using Python type hints"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://github.com/pydantic/pydantic"
changelog="https://raw.githubusercontent.com/pydantic/pydantic/main/HISTORY.md"
distfiles="${PYPI_SITE}/p/pydantic/pydantic-${version}.tar.gz"
checksum=6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a
post_install() {
vlicense LICENSE
}