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

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


    Date: Thursday, July 26, 2018 @ 22:11:17
  Author: eschwartz
Revision: 363647

upgpkg: gammu 1.39.0-2

enable testsuite
add libdbi support, allows python-gammu tests to succeed

Modified:
  gammu/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-26 21:35:45 UTC (rev 363646)
+++ PKGBUILD	2018-07-26 22:11:17 UTC (rev 363647)
@@ -6,13 +6,14 @@
 
 pkgname=gammu
 pkgver=1.39.0
-pkgrel=1
+pkgrel=2
 pkgdesc="GNU All Mobile Management Utilities"
 arch=('x86_64')
 url="http://wammu.eu/gammu/"
 license=('GPL')
-depends=('glib2' 'bluez-libs' 'curl' 'libmariadbclient' 'postgresql-libs' 'libusb' 'libgudev')
+depends=('glib2' 'bluez-libs' 'curl' 'libdbi' 'libmariadbclient' 'postgresql-libs' 'libusb' 'libgudev')
 makedepends=('cmake' 'doxygen' 'python2')
+checkdepends=('libdbi-drivers')
 optdepends=('dialog: support for the gammu-config script' 'python2: for python bindings')
 source=(https://dl.cihar.com/$pkgname/releases/$pkgname-$pkgver.tar.xz)
 sha256sums=('66d1d991d7a993fdf254d4c425f0fdd38c9cca15b1735936695a486067a6a9f8')
@@ -30,6 +31,13 @@
   make
 }
 
+check() {
+  cd $pkgname-$pkgver
+
+  # tests can be flaky on slower hardware due to timing
+  make test
+}
+
 package() {
   cd $pkgname-$pkgver
 



More information about the arch-commits mailing list