summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/python-reportlab/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/libre/python-reportlab/PKGBUILD b/libre/python-reportlab/PKGBUILD
index 5d678662f..a8816d0ef 100644
--- a/libre/python-reportlab/PKGBUILD
+++ b/libre/python-reportlab/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 141248 2015-09-20 11:59:40Z jelle $
+# $Id: PKGBUILD 155234 2016-01-03 19:23:59Z jelle $
# Maintainer (Arch):
# Contributor (Arch): Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor (Arch): William Rea <sillywilly@gmail.com>
@@ -10,14 +10,13 @@ pkgbase=python-reportlab
pkgname=(python2-reportlab python-reportlab)
_origname=reportlab
pkgver=3.2.0
-pkgrel=2.parabola1
+pkgrel=3.parabola1
pkgdesc="A proven industry-strength PDF generating solution, without nonfree Adobe T1 fonts support"
arch=('i686' 'x86_64')
url="http://www.reportlab.org/rl_toolkit.html"
depends=('freetype2')
conflicts=('python-reportlab<=2.5-2')
-makedepends=('python' 'python2')
-checkdepends=('python2-pillow' 'python-pillow')
+makedepends+=('python' 'python2' 'freetype2')
replaces=('python-reportlab<=2.5-2')
license=('custom')
source=("https://pypi.python.org/packages/source/r/reportlab/reportlab-$pkgver.tar.gz"
@@ -45,7 +44,8 @@ prepare() {
package_python2-reportlab() {
conflicts+=('python2-reportlab-libre')
replaces+=('python2-reportlab-libre')
- depends=('python2')
+ depends+=('python2' 'python2-pip' 'python2-pillow')
+
cd "$srcdir/${_origname}2-$pkgver"
python2 setup.py install --root=$pkgdir --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
@@ -54,7 +54,8 @@ package_python2-reportlab() {
package_python-reportlab() {
conflicts+=('python-reportlab-libre')
replaces+=('python-reportlab-libre')
- depends=('python3')
+ depends+=('python3' 'python-pip' 'python-pillow')
+
cd "$srcdir/${_origname}-$pkgver"
python3 setup.py install --root=$pkgdir --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt