diff --git a/srcpkgs/python-reportlab/template b/srcpkgs/python-reportlab/template new file mode 100644 index 00000000000..dbf16422280 --- /dev/null +++ b/srcpkgs/python-reportlab/template @@ -0,0 +1,30 @@ +# Template file for 'python-reportlab' +pkgname=python-reportlab +version=3.2.0 +revision=1 +wrksrc="reportlab-$version" +build_style=python-module +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +python_versions="2.7 3.4" +pycompile_module="reportlab" +short_desc="Python2 library for generating PDFs and graphics" +maintainer="Eivind Uggedal " +license="BSD" +homepage="http://www.reportlab.com/opensource/" +distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz" +checksum=72e687662bd854776407b9108483561831b45546d935df8b0477708199086293 + +post_install() { + vlicense LICENSE.txt LICENSE +} + +python3.4-reportlab_package() { + pycompile_version="3.4" + pycompile_module="reportlab" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE.txt LICENSE + } +} diff --git a/srcpkgs/python3.4-reportlab b/srcpkgs/python3.4-reportlab new file mode 120000 index 00000000000..3bc20b391af --- /dev/null +++ b/srcpkgs/python3.4-reportlab @@ -0,0 +1 @@ +python-reportlab \ No newline at end of file