2022-10-04 06:18:18 +02:00
|
|
|
# Description: Data parsing and validation using Python type hints
|
|
|
|
# URL: https://github.com/samuelcolvin/pydantic
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2024-01-20 14:52:45 +01:00
|
|
|
# Depends on: python3-hatch-fancy-pypi-readme python3-annotated-types python3-pydantic-core
|
2022-10-04 06:18:18 +02:00
|
|
|
|
|
|
|
name=python3-pydantic
|
2024-04-25 20:25:20 +02:00
|
|
|
version=2.7.1
|
2022-10-04 06:18:18 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/samuelcolvin/pydantic/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd pydantic-$version
|
|
|
|
|
2024-01-20 14:52:45 +01:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2022-10-04 06:18:18 +02:00
|
|
|
}
|