void-packages/srcpkgs/python3-pydantic/template

24 lines
930 B
Bash

# Template file for 'python3-pydantic'
pkgname=python3-pydantic
version=2.6.3
revision=1
build_style=python3-pep517
# requires unpackaged pytest-examples, cloudpickle
make_check_args="--ignore=tests/test_docs.py --ignore=tests/test_pickle.py"
hostmakedepends="hatchling"
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"
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=e07805c4c7f5c6826e33a1d4c9d47950d7eaf34868e2690f8594d2e30241f11f
post_install() {
vlicense LICENSE
}