diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-04 05:53:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-04 13:16:14 -0300 |
commit | 924311fa092c72bb09ef282ef33e0a1aa9757ef3 (patch) | |
tree | 11a284a9cf3008db65362b5e0084950556219425 | |
parent | bb003be053549a786f2423204b89b841934c78a0 (diff) |
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
-rw-r--r-- | libre/python-reportlab/PKGBUILD | 13 |
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 |