31 lines
889 B
Bash
31 lines
889 B
Bash
# Template file for 'python-reportlab'
|
|
pkgname=python-reportlab
|
|
version=3.5.10
|
|
revision=1
|
|
wrksrc="reportlab-${version}"
|
|
build_style=python-module
|
|
pycompile_module="reportlab"
|
|
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"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.reportlab.com/"
|
|
distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz"
|
|
checksum=9041d17556b9652cd9cf13b56a4efad7b51df6c567279ced26584cb4eb712b09
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-reportlab_package() {
|
|
depends="python3-Pillow"
|
|
pycompile_module="reportlab"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|