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

Bruno Pagani archange at archlinux.org
Tue Jul 28 00:51:13 UTC 2020


    Date: Tuesday, July 28, 2020 @ 00:51:12
  Author: archange
Revision: 665582

upgpkg: python-pytest-xvfb 2.0.0-1

Modified:
  python-pytest-xvfb/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 00:47:44 UTC (rev 665581)
+++ PKGBUILD	2020-07-28 00:51:12 UTC (rev 665582)
@@ -2,7 +2,7 @@
 
 _pkg=pytest-xvfb
 pkgname=python-${_pkg}
-pkgver=1.2.0
+pkgver=2.0.0
 pkgrel=1
 pkgdesc="pytest plugin to run Xvfb for tests"
 arch=(any)
@@ -11,7 +11,7 @@
 depends=(python-pytest python-pyvirtualdisplay xorg-server-xvfb)
 makedepends=(python-setuptools)
 source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979')
+sha256sums=('c4ba642de05499940db7f65ee111621939be513e3e75c3da9156b7235e2ed8cf')
 
 build() {
   cd ${_pkg}-${pkgver}
@@ -20,6 +20,7 @@
 
 check() {
   cd ${_pkg}-${pkgver}
+  rm tests/test_xvfb_windows.py
   PYTHONPATH="${PWD}/build/lib/" PYTEST_PLUGINS=pytest_xvfb pytest
 }
 
@@ -26,5 +27,6 @@
 package() {
   cd ${_pkg}-${pkgver}
   python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+# Currently missing, fixed upstream
+#  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
 }



More information about the arch-commits mailing list