[arch-commits] Commit in python-pyvirtualdisplay/repos/community-any (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Thu Jul 29 00:30:05 UTC 2021
Date: Thursday, July 29, 2021 @ 00:30:05
Author: archange
Revision: 989698
archrelease: copy trunk to community-any
Added:
python-pyvirtualdisplay/repos/community-any/PKGBUILD
(from rev 989697, python-pyvirtualdisplay/trunk/PKGBUILD)
Deleted:
python-pyvirtualdisplay/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-29 00:30:00 UTC (rev 989697)
+++ PKGBUILD 2021-07-29 00:30:05 UTC (rev 989698)
@@ -1,38 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=PyVirtualDisplay
-pkgname=python-${_pkg,,}
-pkgver=2.1
-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=('9d4c6957ec2c4753b5293fb6a60a90d7c27fc01bc5de9b5aa863f7c1e3fb4efc')
-
-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}
-}
Copied: python-pyvirtualdisplay/repos/community-any/PKGBUILD (from rev 989697, python-pyvirtualdisplay/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-29 00:30:05 UTC (rev 989698)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=PyVirtualDisplay
+pkgname=python-${_pkg,,}
+pkgver=2.2
+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=('3ecda6b183b03ba65dcfdf0019809722480d7b7e10eea6e3a40bf1ba3146bab7')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ PYTHONPATH="${PWD}/build/lib" pytest tests
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ export PYTHONHASHSEED=0
+ 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