# Maintainer: pkgname=py3-pymsgbox pkgver=1.0.9 # no actual tags _gitrev=ad76bd85a9cd2506a5417b82408c82ed60585421 pkgrel=3 pkgdesc="Simple, cross-platform, pure Python module to display message boxes, and just message boxes" url="https://github.com/asweigart/PyMsgBox" arch="noarch" license="GPL-3.0-or-later" depends="python3" makedepends="py3-setuptools" checkdepends="xvfb-run" subpackages="$pkgname-pyc" source="$pkgname-$_gitrev.tar.gz::https://github.com/asweigart/PyMsgBox/archive/$_gitrev.tar.gz" builddir="$srcdir/PyMsgBox-$_gitrev" options="!check" # circular with pyautogui build() { python3 setup.py build } check() { PYTHONPATH="$PWD/src" \ xvfb-run -a \ python3 tests/test_pymsgbox.py } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" c2cc71d098f9498d434648aad70bbe1c718868d778decd3666092e8c4f9f1384f4d22bc1e222639a37be8fd7b802de38fec2832714fd50b3f24a7107232637fd py3-pymsgbox-ad76bd85a9cd2506a5417b82408c82ed60585421.tar.gz "