mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
python-reportlab: update to 3.3.0
Adopted.
This commit is contained in:
parent
f2ab94874e
commit
28abdc5435
1 changed files with 13 additions and 7 deletions
|
@ -1,25 +1,31 @@
|
||||||
# Template file for 'python-reportlab'
|
# Template file for 'python-reportlab'
|
||||||
pkgname=python-reportlab
|
pkgname=python-reportlab
|
||||||
version=3.2.0
|
version=3.3.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="reportlab-$version"
|
wrksrc="reportlab-$version"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
makedepends="python-devel python3.4-devel"
|
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
makedepends="python-devel python3.4-devel freetype-devel libart-devel"
|
||||||
|
depends="python-Pillow"
|
||||||
pycompile_module="reportlab"
|
pycompile_module="reportlab"
|
||||||
short_desc="Python2 library for generating PDFs and graphics"
|
short_desc="Python2 library for generating PDFs and graphics"
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
license="BSD"
|
license="3-clause-BSD"
|
||||||
homepage="http://www.reportlab.com/opensource/"
|
homepage="http://www.reportlab.com/"
|
||||||
distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz"
|
||||||
checksum=72e687662bd854776407b9108483561831b45546d935df8b0477708199086293
|
checksum=f48900b9321bcb2871a46543993bd995148d769a11a9e24495f25b4ec0bbe267
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i "s|'pip>=1.4.1', 'setuptools>=2.2'||" setup.py
|
||||||
|
find src/reportlab -type f -name '*.py' -exec sed -i '/^#!/d' {} +
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-reportlab_package() {
|
python3.4-reportlab_package() {
|
||||||
|
depends="python3.4-Pillow"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="reportlab"
|
pycompile_module="reportlab"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue