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

David Runge dvzrv at archlinux.org
Mon Jul 16 23:21:55 UTC 2018


    Date: Monday, July 16, 2018 @ 23:21:54
  Author: dvzrv
Revision: 360309

upgpkg: vdirsyncer 0.16.6-2

Rebuilding for python 3.7. Disabling failing test and reporting upstream.

Modified:
  vdirsyncer/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-16 23:21:46 UTC (rev 360308)
+++ PKGBUILD	2018-07-16 23:21:54 UTC (rev 360309)
@@ -4,7 +4,7 @@
 
 pkgname=vdirsyncer
 pkgver=0.16.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Synchronize CalDAV and CardDAV."
 arch=('any')
 url="https://vdirsyncer.pimutils.org/en/stable/"
@@ -24,6 +24,14 @@
             'f0d1f9755b21358b0371d94cb0d2f1fc12b8dc095d2536c7fc9025906d666ec33b85b3a3924b16a3311dc81e136e0790d50f84c7c8f9f65aaed80613fa69d066'
             'ac2656edc5ad39dbdc31a71117d98bfdc4ab5001729fc6a76f54e1e34ff81192f29e6162b2f8e429a5e02b8842fe1f2f51b00e84637eda53ba1448b8f08c6b80')
 
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # disabling failing test: https://github.com/pimutils/vdirsyncer/issues/754
+  sed -e 's/test_open_graphical_browser/disable_&/g' \
+      -i tests/system/utils/test_main.py
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
   python setup.py build
@@ -34,11 +42,6 @@
   make DETERMINISTIC_TESTS=true test
 }
 
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
 package() {
   cd "${pkgname}-${pkgver}"
   python setup.py install --skip-build \



More information about the arch-commits mailing list