python-reportlab: need freetype in the host too

This commit is contained in:
Alessio Sergi 2018-08-03 19:31:06 +02:00
parent ec3c2afb93
commit f76e1b40be
1 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'python-reportlab'
pkgname=python-reportlab
version=3.5.2
revision=1
revision=2
wrksrc="reportlab-$version"
build_style=python-module
pycompile_module="reportlab"
hostmakedepends="python-setuptools python3-setuptools"
hostmakedepends="python-setuptools python3-setuptools freetype-devel"
makedepends="python-devel python3-devel freetype-devel libart-devel"
depends="python-Pillow"
short_desc="Python2 library for generating PDFs and graphics"
@ -15,10 +15,6 @@ homepage="https://www.reportlab.com/"
distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz"
checksum=08986267eaf25d62c3802512f0a97dc3426d0c82f52c8beb576689582eb85b7f
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="src/rl_addons/renderPM/_renderPM.c:144:10: fatal error: ft2build.h: No such file or directory #include <ft2build.h>" ;;
esac
post_install() {
vlicense LICENSE.txt
}