From 924311fa092c72bb09ef282ef33e0a1aa9757ef3 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 4 Jan 2016 05:53:47 -0300 Subject: python-reportlab-3.2.0-3.parabola1: resolve missing pip requirement (FS#47609 -> https://bugs.archlinux.org/task/47609) * also missing python{,2}-pillow & freetype2 --- libre/python-reportlab/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libre') 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 # Contributor (Arch): William Rea @@ -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 -- cgit v1.2.3-54-g00ecf