# Description: Python Imaging Library (PIL) fork.
# URL: https://github.com/python-pillow/Pillow
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: lcms2 libraqm libwebp pybind11
# Optional: tk

name=python3-pillow
version=12.2.0
release=1
source=(https://github.com/python-pillow/Pillow/archive/$version/$name-$version.tar.gz)

build() {
  cd Pillow-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --destdir=$PKG dist/*.whl
}
