[arch-commits] Commit in python-pyvirtualdisplay/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Wed Jan 27 21:26:48 UTC 2021


    Date: Wednesday, January 27, 2021 @ 21:26:48
  Author: archange
Revision: 833017

upgpkg: python-pyvirtualdisplay 2.0-1

Modified:
  python-pyvirtualdisplay/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-27 21:14:23 UTC (rev 833016)
+++ PKGBUILD	2021-01-27 21:26:48 UTC (rev 833017)
@@ -2,8 +2,8 @@
 
 _pkg=PyVirtualDisplay
 pkgname=python-${_pkg,,}
-pkgver=1.3.2
-pkgrel=3
+pkgver=2.0
+pkgrel=1
 pkgdesc="Python wrapper for Xvfb, Xephyr and Xvnc"
 arch=(any)
 url="https://github.com/ponty/PyVirtualDisplay"
@@ -11,13 +11,15 @@
 depends=(python-easyprocess)
 makedepends=(python-setuptools)
 checkdepends=(
-    python-pytest python-pyscreenshot python-pillow
-    python-entrypoint2 python-path.py xorg-server-xvfb xorg-server-xephyr
-    xorg-xmessage xorg-xdpyinfo scrot
+    python-pytest python-pytest-xdist
+    python-pyscreenshot python-pillow
+    python-entrypoint2 python-path.py python-psutil
+    xorg-server-xvfb xorg-server-xephyr
+    xorg-xmessage xorg-xdpyinfo scrot vncdotool
 )
 source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
 #source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('3fa85a6e490e45eab64e6be19841e0ab15ec8054c97f162079a061da6a93eba0')
+sha256sums=('3cdacd70970a74d163a2417d8581f43a56bb1ac8d31c71a1a6a4348969062d65')
 
 build() {
   cd ${_pkg}-${pkgver}
@@ -26,8 +28,7 @@
 
 check() {
   cd ${_pkg}-${pkgver}
-  # Test.test_slowshot and Test.test_slowshot_wrap are timing out
-  PYTHONPATH="${PWD}/build/lib" pytest tests || echo "Tests failed"
+  PYTHONPATH="${PWD}/build/lib" pytest tests
 }
 
 package() {



More information about the arch-commits mailing list