[arch-commits] Commit in python-reportlab/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Aug 22 19:48:21 UTC 2018
Date: Wednesday, August 22, 2018 @ 19:48:21
Author: jelle
Revision: 373304
upgpkg: python-reportlab 3.5.6-1
Modified:
python-reportlab/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-22 19:34:35 UTC (rev 373303)
+++ PKGBUILD 2018-08-22 19:48:21 UTC (rev 373304)
@@ -3,25 +3,24 @@
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: William Rea <sillywilly at gmail.com>
+_origname=reportlab
pkgbase=python-reportlab
pkgname=(python2-reportlab python-reportlab)
-_origname=reportlab
-pkgver=3.5.1
-pkgrel=2
+pkgver=3.5.6
+pkgrel=1
pkgdesc="A proven industry-strength PDF generating solution"
arch=('x86_64')
-url="http://www.reportlab.org/rl_toolkit.html"
+url="https://bitbucket.org/rptlab/reportlab"
depends=('freetype2')
conflicts=('python-reportlab<=2.5-2')
makedepends+=('python' 'python2' 'freetype2' 'python2-pillow' 'python-pillow' 'mercurial')
replaces=('python-reportlab<=2.5-2')
license=('CUSTOM')
-source=(hg+https://bitbucket.org/rptlab/reportlab#tag=ReportLab_3_5_0)
-md5sums=('SKIP')
+source=(https://files.pythonhosted.org/packages/source/${_origname::1}/${_origname}/${_origname}-${pkgver}.tar.gz)
build() {
cd $srcdir
- cp -rf ${_origname} "${_origname}2"
+ cp -rf ${_origname}-${pkgver} "${_origname}2"
}
package_python2-reportlab() {
@@ -35,13 +34,14 @@
package_python-reportlab() {
depends+=('python3' 'python-pip' 'python-pillow')
- cd "$srcdir/${_origname}"
+ cd "$srcdir/${_origname}-${pkgver}"
python3 setup.py install --root=$pkgdir --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
}
check() {
- cd ${srcdir}/${_origname}
+ cd "${srcdir}/${_origname}-${pkgver}"
python2 setup.py tests
python setup.py tests
}
+md5sums=('e489d1d9da9025935fc712e9252119b7')
More information about the arch-commits
mailing list