[arch-commits] Commit in python-reportlab/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Jul 13 17:27:53 UTC 2018
Date: Friday, July 13, 2018 @ 17:27:52
Author: jelle
Revision: 358681
upgpkg: python-reportlab 3.5.0-1
Modified:
python-reportlab/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-13 17:23:06 UTC (rev 358680)
+++ PKGBUILD 2018-07-13 17:27:52 UTC (rev 358681)
@@ -6,7 +6,7 @@
pkgbase=python-reportlab
pkgname=(python2-reportlab python-reportlab)
_origname=reportlab
-pkgver=3.4.0
+pkgver=3.5.0
pkgrel=1
pkgdesc="A proven industry-strength PDF generating solution"
arch=('x86_64')
@@ -13,21 +13,21 @@
url="http://www.reportlab.org/rl_toolkit.html"
depends=('freetype2')
conflicts=('python-reportlab<=2.5-2')
-makedepends+=('python' 'python2' 'freetype2' 'python2-pillow' 'python-pillow')
+makedepends+=('python' 'python2' 'freetype2' 'python2-pillow' 'python-pillow' 'mercurial')
replaces=('python-reportlab<=2.5-2')
license=('CUSTOM')
-source=("https://pypi.python.org/packages/87/f9/53b34c58d3735a6df7d5c542bf4de60d699cfa6035e113ca08b3ecdcca3f/reportlab-3.4.0.tar.gz")
-md5sums=('3f2522cf3b69cd84426c216619bbff53')
+source=(hg+https://bitbucket.org/rptlab/reportlab#tag=ReportLab_3_5_0)
+md5sums=('SKIP')
build() {
cd $srcdir
- cp -rf ${_origname}-$pkgver "${_origname}2-$pkgver"
+ cp -rf ${_origname} "${_origname}2"
}
package_python2-reportlab() {
depends+=('python2' 'python2-pip' 'python2-pillow')
- cd "$srcdir/${_origname}2-$pkgver"
+ cd "$srcdir/${_origname}2"
python2 setup.py install --root=$pkgdir --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
}
@@ -35,14 +35,13 @@
package_python-reportlab() {
depends+=('python3' 'python-pip' 'python-pillow')
- cd "$srcdir/${_origname}-$pkgver"
+ cd "$srcdir/${_origname}"
python3 setup.py install --root=$pkgdir --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
}
-
check() {
- cd ${srcdir}/${_origname}-${pkgver}
+ cd ${srcdir}/${_origname}
python2 setup.py tests
python setup.py tests
}
More information about the arch-commits
mailing list