[arch-commits] Commit in python-pytest-xvfb/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 18:03:13 UTC 2020
Date: Thursday, November 12, 2020 @ 18:03:13
Author: felixonmars
Revision: 752922
archrelease: copy trunk to community-staging-any
Added:
python-pytest-xvfb/repos/community-staging-any/PKGBUILD
(from rev 752921, python-pytest-xvfb/trunk/PKGBUILD)
Deleted:
python-pytest-xvfb/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 18:03:02 UTC (rev 752921)
+++ PKGBUILD 2020-11-12 18:03:13 UTC (rev 752922)
@@ -1,32 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pytest-xvfb
-pkgname=python-${_pkg}
-pkgver=2.0.0
-pkgrel=2
-pkgdesc="pytest plugin to run Xvfb for tests"
-arch=(any)
-url="https://github.com/The-Compiler/pytest-xvfb"
-license=(MIT)
-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=('c4ba642de05499940db7f65ee111621939be513e3e75c3da9156b7235e2ed8cf')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- rm tests/test_xvfb_windows.py
- PYTHONPATH="${PWD}/build/lib/" PYTEST_PLUGINS=pytest_xvfb pytest
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-# Currently missing, fixed upstream
-# install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-pytest-xvfb/repos/community-staging-any/PKGBUILD (from rev 752921, python-pytest-xvfb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 18:03:13 UTC (rev 752922)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pytest-xvfb
+pkgname=python-${_pkg}
+pkgver=2.0.0
+pkgrel=3
+pkgdesc="pytest plugin to run Xvfb for tests"
+arch=(any)
+url="https://github.com/The-Compiler/pytest-xvfb"
+license=(MIT)
+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=('c4ba642de05499940db7f65ee111621939be513e3e75c3da9156b7235e2ed8cf')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ rm tests/test_xvfb_windows.py
+ PYTHONPATH="${PWD}/build/lib/" PYTEST_PLUGINS=pytest_xvfb pytest
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+# Currently missing, fixed upstream
+# install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list