summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rwxr-xr-xlibre/python2-reportlab-libre/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/libre/python2-reportlab-libre/PKGBUILD b/libre/python2-reportlab-libre/PKGBUILD
index 27014d100..10bb58bdc 100755
--- a/libre/python2-reportlab-libre/PKGBUILD
+++ b/libre/python2-reportlab-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 67753 2012-03-14 10:35:58Z giovanni $
+# $Id: PKGBUILD 97428 2013-09-19 18:56:42Z jelle $
# Maintainer:
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: William Rea <sillywilly@gmail.com>
@@ -9,26 +9,25 @@
pkgbase=python-reportlab-libre
pkgname=python2-reportlab-libre
_origname=reportlab
-pkgver=2.6
+pkgver=2.7
pkgrel=1
-pkgdesc="A proven industry-strength PDF generating solution (without non-free Adobe T1 fonts)"
+pkgdesc="A proven industry-strength PDF generating solution, without nonfree Adobe T1 fonts"
arch=('i686' 'x86_64')
url="http://www.reportlab.org/rl_toolkit.html"
-depends=('python2' 'freetype2' 'ttf-bitstream-vera' 'gsfonts' 'python-imaging')
-conflicts=('python2-reportlab' 'python-reportlab<=2.5-2')
-replaces=('python2-reportlab' 'python-reportlab<=2.5-2')
+depends=('python2' 'freetype2')
+conflicts=('python-reportlab<=2.5-2' 'python2-reportlab')
+replaces=('python-reportlab<=2.5-2' 'python2-reportlab')
provides=("python2-reportlab=$pkgver")
license=('custom')
-source=(http://www.reportlab.com/ftp/${_origname}-$pkgver.tar.gz
+source=(http://www.reportlab.com/ftp/reportlab-$pkgver.tar.gz
free-fonts.patch)
-md5sums=('e5d27a24a2c8456b168913242aa1940f'
+md5sums=('78300e6fe8a0d020fc16734a3de80cc4'
'1588b88851711cc6c868db4c7d4f4dea')
-optdepends=('ghostscript')
build() {
cd $srcdir/${_origname}-$pkgver
- # remove non-free Adobe T1 fonts
+ # remove nonfree Adobe T1 fonts
patch -p1 -i $srcdir/free-fonts.patch
# Parabola contains those fonts from the ttf-bitstream-vera package
@@ -43,7 +42,11 @@ build() {
package_python2-reportlab-libre() {
cd $srcdir/${_origname}-$pkgver
-
python2 setup.py install --root=$pkgdir --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
}
+
+check() {
+ cd ${srcdir}/${_origname}-${pkgver}
+# python2 setup.py tests
+}