aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMogens Jensen <mogens-jensen@protonmail.com>2021-01-14 11:00:17 +0000
committerTBK <tbk@jjtc.eu>2021-01-14 11:00:17 +0000
commit22329014eaa6bf8533c87b0106670218814e8b6d (patch)
tree5f234b771044c4a2cd780c984b39a5b3d59bc79f
parent2f84df46b40cbf4257cac3183d24f48ebda222dc (diff)
downloadaports-22329014eaa6bf8533c87b0106670218814e8b6d.tar.gz
aports-22329014eaa6bf8533c87b0106670218814e8b6d.tar.bz2
aports-22329014eaa6bf8533c87b0106670218814e8b6d.tar.xz
community/zim: upgrade to 0.73.4
- Change arch from "all" to "noarch" - Enable tests Disable widgets test module for now as some tests fail because of problems related to system locale.
-rw-r--r--community/zim/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/zim/APKBUILD b/community/zim/APKBUILD
index e5802e69a9..46e221a374 100644
--- a/community/zim/APKBUILD
+++ b/community/zim/APKBUILD
@@ -1,15 +1,15 @@
# Contributor: Adam Nye <adam@spoontech.biz>
# Maintainer: Mogens Jensen <mogens-jensen@protonmail.com>
pkgname=zim
-pkgver=0.73.1
+pkgver=0.73.4
pkgrel=0
pkgdesc="Desktop wiki editor"
-options="!check" # Tests broken starting with 0.71.0
url="http://zim-wiki.org"
-arch="all"
+arch="noarch"
license="GPL-2.0-or-later"
depends="python3 py3-gobject3 py3-xdg xdg-utils gtk+3.0"
makedepends="desktop-file-utils"
+checkdepends="gnome-icon-theme xvfb-run"
subpackages="$pkgname-doc $pkgname-lang"
source="https://zim-wiki.org/downloads/zim-$pkgver.tar.gz"
@@ -17,6 +17,13 @@ build() {
python3 setup.py build
}
+check() {
+ # Disable widgets test module for now as some tests
+ # fail because of problems related to system locale.
+ cat /dev/null > tests/widgets.py
+ XDG_RUNTIME_DIR=/tmp xvfb-run python3 test.py --fast
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
@@ -24,4 +31,4 @@ package() {
cp -r xdg/hicolor "$pkgdir"/usr/share/icons
}
-sha512sums="85d2da8618fc881012e6ceb409f20096b7039402321f66452c22713d2c1fa5c04d8bb775876383c6fe774bd7d549b20a0679e5e91dc932e03b83a1647cb5eb4a zim-0.73.1.tar.gz"
+sha512sums="d57fa3be3d4acb6baece9def695ab391074a6d5add553452bac49bb624d54f86e98370a09142d5f579da91040937585010cd7d26c22cd4caee4619386f5909de zim-0.73.4.tar.gz"