From 42fbe2d214b850ded06b23ca33f3aa2880e60dbb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 20 Sep 2013 02:18:37 -0700 Subject: Fri Sep 20 02:14:49 PDT 2013 --- libre/python2-reportlab-libre/PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'libre') 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 # Contributor: William Rea @@ -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 +} -- cgit v1.2.3-54-g00ecf