[arch-commits] Commit in python-reportlab/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed Jul 15 13:57:17 UTC 2020
Date: Wednesday, July 15, 2020 @ 13:57:17
Author: foxboron
Revision: 663972
upgpkg: python-reportlab 3.5.42-2 - reproducible builds
Modified:
python-reportlab/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-15 13:50:04 UTC (rev 663971)
+++ PKGBUILD 2020-07-15 13:57:17 UTC (rev 663972)
@@ -1,4 +1,4 @@
-# Maintainer:
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: William Rea <sillywilly at gmail.com>
@@ -5,7 +5,7 @@
_origname=reportlab
pkgname=python-reportlab
pkgver=3.5.42
-pkgrel=1
+pkgrel=2
pkgdesc="A proven industry-strength PDF generating solution"
arch=('x86_64')
url="https://bitbucket.org/rptlab/reportlab"
@@ -18,11 +18,17 @@
package() {
cd ${_origname}-${pkgver}
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+ python setup.py build
}
check() {
cd ${_origname}-${pkgver}
python setup.py tests
+ rm tests/_i_am_actually_a_*
}
+
+package() {
+ cd ${_origname}-${pkgver}
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
More information about the arch-commits
mailing list