Date: Friday, March 29, 2019 @ 19:50:13 Author: bluewind Revision: 446066
upgpkg: zim 0.70-1 upstream update Modified: zim/trunk/PKGBUILD ----------+ PKGBUILD | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-29 19:46:57 UTC (rev 446065) +++ PKGBUILD 2019-03-29 19:50:13 UTC (rev 446066) @@ -3,13 +3,14 @@ # Contributor: Daniel J Griffiths <ghost1...@archlinux.us> pkgname=zim -pkgver=0.69 +pkgver=0.70 pkgrel=1 pkgdesc="A WYSIWYG text editor that aims at bringing the concept of a wiki to the desktop." arch=(any) license=('GPL' 'PerlArtistic') -url="http://zim-wiki.org/" -depends=('pygtk' 'ttf-dejavu') +url="https://zim-wiki.org/" +depends=('python' 'python-gobject' 'ttf-dejavu' 'gtk3' 'python-xdg') +checkdepends=('xorg-server-xvfb') optdepends=('bzr: Version Control plugin' 'git: Version Control plugin' 'mercurial: Version Control plugin' @@ -23,22 +24,18 @@ 'lilypond: Insert Score plugin' 'pygtksourceview2: Source View plugin' 'texlive-bin: Insert Equation plugin') -source=(http://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz) -md5sums=('5f14a0ec54be8efa78f4973973e9d947') +source=(https://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz) +md5sums=('14bde80a5805c5e84cd4b109ece013f6') -build() { + +check() { cd ${srcdir}/${pkgname}-${pkgver} - # python2 fixes - for file in zim/inc/xdot.py; do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - done - - sed -i 's|\t\tinstall_class.run(self)|&\n\t\treturn None|' setup.py + xvfb-run -w0 ./test.py } package() { cd ${srcdir}/${pkgname}-${pkgver} - python2 setup.py install --root=${pkgdir} --optimize=1 + python setup.py install --root=${pkgdir} --optimize=1 }