void-packages/srcpkgs/python3-pydantic/template

21 lines
710 B
Bash

# Template file for 'python3-pydantic'
pkgname=python3-pydantic
version=1.10.2
revision=1
wrksrc="pydantic-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-typing_extensions"
checkdepends="${depends} python3-pytest python3-pytest-mock"
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=91b8e218852ef6007c2b98cd861601c6a09f1aa32bbbb74fab5b1c33d4a1e410
post_install() {
vlicense LICENSE
}