From 6a5ae3ab1c2587606b3c49501f3d10f50ee9e661 Mon Sep 17 00:00:00 2001 From: Paper Date: Fri, 23 Oct 2020 18:12:03 +0200 Subject: [PATCH] python3-Pillow: update to 8.0.1 --- srcpkgs/python3-Pillow/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-Pillow/template b/srcpkgs/python3-Pillow/template index a67ac4a8fb1..a6f65675b37 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