void-packages/srcpkgs/pychess/template

24 lines
838 B
Bash

# Template file for 'pychess'
pkgname=pychess
version=1.0.3
revision=2
build_style=python3-module
_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 <cipr3s@gmx.com>"
license="GPL-3.0-or-later"
homepage="https://pychess.github.io"
distfiles="https://github.com/pychess/${pkgname}/archive/${version}.tar.gz"
checksum=86b193dd1af1f40d37820afb33b3b3b890be2737d57df5f8e024a489840b25a4
do_check() {
cd testing/
rm remotegame.py
PYTHONPATH=../lib PYCHESS_UNITTEST=true xvfb-run -a python3 -m unittest discover -p "*.py"
}