[arch-commits] Commit in python-pyvirtualdisplay/repos/community-any (2 files)
Bruno Pagani
archange at archlinux.org
Thu Jan 28 10:57:36 UTC 2021
Date: Thursday, January 28, 2021 @ 10:57:36
Author: archange
Revision: 833231
archrelease: copy trunk to community-any
Added:
python-pyvirtualdisplay/repos/community-any/PKGBUILD
(from rev 833230, python-pyvirtualdisplay/trunk/PKGBUILD)
Deleted:
python-pyvirtualdisplay/repos/community-any/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-28 10:16:18 UTC (rev 833230)
+++ PKGBUILD 2021-01-28 10:57:36 UTC (rev 833231)
@@ -1,37 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=PyVirtualDisplay
-pkgname=python-${_pkg,,}
-pkgver=1.3.2
-pkgrel=3
-pkgdesc="Python wrapper for Xvfb, Xephyr and Xvnc"
-arch=(any)
-url="https://github.com/ponty/PyVirtualDisplay"
-license=(BSD)
-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
-)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-#source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('3fa85a6e490e45eab64e6be19841e0ab15ec8054c97f162079a061da6a93eba0')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- # Test.test_slowshot and Test.test_slowshot_wrap are timing out
- PYTHONPATH="${PWD}/build/lib" pytest tests || echo "Tests failed"
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-pyvirtualdisplay/repos/community-any/PKGBUILD (from rev 833230, python-pyvirtualdisplay/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-28 10:57:36 UTC (rev 833231)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=PyVirtualDisplay
+pkgname=python-${_pkg,,}
+pkgver=2.0
+pkgrel=1
+pkgdesc="Python wrapper for Xvfb, Xephyr and Xvnc"
+arch=(any)
+url="https://github.com/ponty/PyVirtualDisplay"
+license=(BSD)
+depends=(python-easyprocess)
+makedepends=(python-setuptools)
+checkdepends=(
+ 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=('3cdacd70970a74d163a2417d8581f43a56bb1ac8d31c71a1a6a4348969062d65')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ PYTHONPATH="${PWD}/build/lib" pytest tests
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+ install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list