27 lines
864 B
Bash
27 lines
864 B
Bash
# Template file for 'python3-Pillow'
|
|
pkgname=python3-Pillow
|
|
version=8.0.1
|
|
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=11c5c6e9b02c9dac08af04f093eb5a2f84857df70a7d4a6a6ad461aca803fb9e
|
|
|
|
do_check() {
|
|
PYTHONPATH=$(cd build/lib.linux-* && pwd) python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|