void-packages/srcpkgs/python3-pydantic/template

22 lines
793 B
Bash

# Template file for 'python3-pydantic'
pkgname=python3-pydantic
version=1.10.7
revision=1
build_style=python3-module
# added to stop test failing due to DeprecationWarning on pkg_resources import
make_check_args="-p no:warnings"
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=cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e
post_install() {
vlicense LICENSE
}