[arch-commits] Commit in python-reportlab/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Nov 27 20:41:25 UTC 2018


    Date: Tuesday, November 27, 2018 @ 20:41:22
  Author: arojas
Revision: 410072

Update to 3.5.11

Modified:
  python-reportlab/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-27 20:40:57 UTC (rev 410071)
+++ PKGBUILD	2018-11-27 20:41:22 UTC (rev 410072)
@@ -5,21 +5,18 @@
 _origname=reportlab
 pkgbase=python-reportlab
 pkgname=(python2-reportlab python-reportlab)
-pkgver=3.5.10
+pkgver=3.5.11
 pkgrel=1
 pkgdesc="A proven industry-strength PDF generating solution"
 arch=('x86_64')
 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=(https://files.pythonhosted.org/packages/source/${_origname::1}/${_origname}/${_origname}-${pkgver}.tar.gz)
-sha256sums=('9041d17556b9652cd9cf13b56a4efad7b51df6c567279ced26584cb4eb712b09')
+sha256sums=('234e1790858f1608d2fc8f820fa5660b7838cb14f12dec81e3c1156a4891ee1a')
 
 build() {
-    cd $srcdir
     cp -rf ${_origname}-${pkgver} "${_origname}2"
 }
 
@@ -26,7 +23,7 @@
 package_python2-reportlab() {
     depends+=('python2' 'python2-pip' 'python2-pillow')
 
-    cd "$srcdir/${_origname}2"
+    cd ${_origname}2
     python2 setup.py install --root=$pkgdir --optimize=1
     install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
 }
@@ -34,13 +31,13 @@
 package_python-reportlab() {
     depends+=('python3' 'python-pip' 'python-pillow')
 
-    cd "$srcdir/${_origname}-${pkgver}"
+    cd ${_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}-${pkgver}"
+    cd ${_origname}-${pkgver}
     python2 setup.py tests
     python setup.py tests
 }


More information about the arch-commits mailing list