void-packages/srcpkgs/python3-Pillow/template
2021-04-02 23:11:11 -04:00

27 lines
864 B
Bash

# Template file for 'python3-Pillow'
pkgname=python3-Pillow
version=8.2.0
revision=1
wrksrc="Pillow-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel libjpeg-turbo-devel libopenjpeg2-devel
tiff-devel freetype-devel lcms2-devel libwebp-devel libimagequant-devel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python Imaging Library (PIL) for for Python3"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="custom:PIL"
homepage="https://python-pillow.org"
changelog="https://raw.githubusercontent.com/python-pillow/Pillow/master/CHANGES.rst"
distfiles="${PYPI_SITE}/P/Pillow/Pillow-${version}.tar.gz"
checksum=a787ab10d7bb5494e5f76536ac460741788f1fbce851068d73a87ca7c35fc3e1
do_check() {
PYTHONPATH=$(cd build/lib.linux-* && pwd) python3 -m pytest
}
post_install() {
vlicense LICENSE
}