diff --git a/srcpkgs/python3-Pillow/template b/srcpkgs/python3-Pillow/template index a67ac4a8fb..a6f65675b3 100644 --- a/srcpkgs/python3-Pillow/template +++ b/srcpkgs/python3-Pillow/template @@ -1,6 +1,6 @@ # Template file for 'python3-Pillow' pkgname=python3-Pillow -version=8.0.0 +version=8.0.1 revision=1 wrksrc="Pillow-${version}" build_style=python3-module @@ -8,13 +8,18 @@ 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 " 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=59304c67d12394815331eda95ec892bf54ad95e0aa7bc1ccd8e0a4a5a25d4bf3 +checksum=11c5c6e9b02c9dac08af04f093eb5a2f84857df70a7d4a6a6ad461aca803fb9e + +do_check() { + PYTHONPATH=$(cd build/lib.linux-* && pwd) python3 -m pytest +} post_install() { vlicense LICENSE