[arch-commits] Commit in python-reportlab/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Jan 3 19:16:40 UTC 2016
Date: Sunday, January 3, 2016 @ 20:16:40
Author: jelle
Revision: 155232
FS#47609 resolve missing pip requirement
Also missing python{,2}-pillow & freetype2
Modified:
python-reportlab/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-03 16:50:42 UTC (rev 155231)
+++ PKGBUILD 2016-01-03 19:16:40 UTC (rev 155232)
@@ -7,14 +7,14 @@
pkgname=(python2-reportlab python-reportlab)
_origname=reportlab
pkgver=3.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="A proven industry-strength PDF generating solution"
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')
+#checkdepends=('python2-pillow' 'python-pillow')
replaces=('python-reportlab<=2.5-2')
license=('CUSTOM')
source=("https://pypi.python.org/packages/source/r/reportlab/reportlab-$pkgver.tar.gz")
@@ -26,7 +26,8 @@
}
package_python2-reportlab() {
- depends=('python2' 'python2-pip')
+ 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
@@ -33,7 +34,8 @@
}
package_python-reportlab() {
- depends=('python3' 'python-pip')
+ 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
More information about the arch-commits
mailing list