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

Eli Schwartz eschwartz at archlinux.org
Thu Jul 26 22:13:17 UTC 2018


    Date: Thursday, July 26, 2018 @ 22:13:16
  Author: eschwartz
Revision: 363649

upgpkg: python-gammu 2.11-2

python 3.7 rebuild
fix test failures with new gammu version

Modified:
  python-gammu/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-26 22:11:45 UTC (rev 363648)
+++ PKGBUILD	2018-07-26 22:13:16 UTC (rev 363649)
@@ -5,13 +5,14 @@
 pkgbase=python-gammu
 pkgname=('python-gammu' 'python2-gammu')
 pkgver=2.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Python bindings for Gammu library"
 arch=('x86_64')
-url="http://wammu.eu/python-gammu/"
+url="https://wammu.eu/python-gammu/"
 license=('GPL')
 makedepends=('python-setuptools' 'python2-setuptools' 'gammu')
-source=(http://dl.cihar.com/python-gammu/python-gammu-$pkgver.tar.bz2)
+checkdepends=('libdbi-drivers')
+source=(https://dl.cihar.com/python-gammu/python-gammu-$pkgver.tar.bz2)
 sha256sums=('8938af9a92804028e729f68a2e23ccbde525590a4cdc2f43e59d490855a05db6')
 
 prepare() {
@@ -27,11 +28,12 @@
 }
 
 check() {
+  # tests can be flaky on slower hardware due to timing
   cd "${srcdir}"/python-gammu-$pkgver
-  python setup.py test || warning "Tests failed"
+  python setup.py test 
 
   cd "${srcdir}"/python-gammu-$pkgver-py2
-  python2 setup.py test || warning "Tests failed"
+  python2 setup.py test
 }
 
 package_python-gammu() {



More information about the arch-commits mailing list