contrib/python3-pydantic-core/Pkgfile

17 lines
533 B
Plaintext

# Description: Core validation logic for pydantic written in rust
# URL: https://github.com/pydantic/pydantic-core
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-maturin
name=python3-pydantic-core
version=2.18.4
release=1
source=(https://pypi.org/packages/source/p/pydantic_core/pydantic_core-$version.tar.gz)
build() {
cd pydantic_core-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}