From 6c9e3e4234abae15d2da41555c4479b68d34acf6 Mon Sep 17 00:00:00 2001 From: icp Date: Mon, 22 Aug 2022 16:38:36 +0530 Subject: [PATCH] pychess: update to 1.0.3. --- srcpkgs/pychess/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/pychess/template b/srcpkgs/pychess/template index af30be49f18d..7fb17cc72de7 100644 --- a/srcpkgs/pychess/template +++ b/srcpkgs/pychess/template @@ -1,17 +1,23 @@ # Template file for 'pychess' pkgname=pychess -version=1.0.2 -revision=2 +version=1.0.3 +revision=1 build_style=python3-module -pycompile_module="pychess" _commondeps="python3-gobject python3-pexpect python3-SQLAlchemy gobject-introspection gtksourceview" hostmakedepends="python3-setuptools gettext ${_commondeps}" depends="stockfish gnome-icon-theme python3-websockets python3-psutil gst-plugins-base1 ${_commondeps}" +checkdepends="${depends} xvfb-run" short_desc="GTK chess client written in Python" maintainer="cipr3s " license="GPL-3.0-or-later" homepage="https://pychess.github.io" distfiles="https://github.com/pychess/${pkgname}/archive/${version}.tar.gz" -checksum=06d9274775fb0aac480fcc40f0007be3c5309da6a122013472d36de7de8d5fa2 +checksum=86b193dd1af1f40d37820afb33b3b3b890be2737d57df5f8e024a489840b25a4 + +do_check() { + cd testing/ + rm remotegame.py + PYTHONPATH=../lib PYCHESS_UNITTEST=true xvfb-run -a python3 -m unittest discover -p "*.py" +}