From 7e2ab37cafed90e34ffee76b1c97b204778f232d Mon Sep 17 00:00:00 2001 From: mobinmob Date: Tue, 25 May 2021 23:25:31 +0300 Subject: [PATCH] ReText: update to 7.2.1. Also fix tests. --- srcpkgs/ReText/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ReText/template b/srcpkgs/ReText/template index 99c003962178..924188281026 100644 --- a/srcpkgs/ReText/template +++ b/srcpkgs/ReText/template @@ -1,19 +1,24 @@ # Template file for 'ReText' pkgname=ReText -version=7.1.0 -revision=2 +version=7.2.1 +revision=1 wrksrc="${pkgname,,}-${version}" build_style=python3-module hostmakedepends="ImageMagick python3 qt5-host-tools qt5-tools python3-setuptools" makedepends="python3-Markdown python3-Markups python3-PyQt5-webkit qt5-tools" depends="desktop-file-utils python3-chardet python3-docutils python3-Markdown python3-Markups python3-PyQt5-webkit" +checkdepends="python3-pip" short_desc="Simple editor for Markdown and reStructuredText" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="https://github.com/retext-project/retext" distfiles="https://github.com/retext-project/retext/archive/${version}.tar.gz" -checksum=a51cf19232e74a6972ce5d875ed1f24b07e6922841ce04558b99ecfc34b34134 +checksum=a1e8784fcb4e186a6e6e42a0f2be4098c27bedb96a9711aa17a9846278e7d932 + +pre_check() { + export QT_QPA_PLATFORM=offscreen +} post_install() { local icondir=usr/share/icons/hicolor