[arch-commits] Commit in (4 files)
David Runge
dvzrv at archlinux.org
Tue Jul 24 21:02:13 UTC 2018
Date: Tuesday, July 24, 2018 @ 21:02:12
Author: dvzrv
Revision: 363309
Adding python-xvfbwrapper as checkdepends to qtile.
Added:
python-xvfbwrapper/
python-xvfbwrapper/repos/
python-xvfbwrapper/trunk/
python-xvfbwrapper/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Added: python-xvfbwrapper/trunk/PKGBUILD
===================================================================
--- python-xvfbwrapper/trunk/PKGBUILD (rev 0)
+++ python-xvfbwrapper/trunk/PKGBUILD 2018-07-24 21:02:12 UTC (rev 363309)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=xvfbwrapper
+pkgname=python-xvfbwrapper
+pkgver=0.2.9
+pkgrel=1
+pkgdesc="Manage headless displays with Xvfb (X virtual framebuffer)"
+arch=('any')
+url="https://github.com/cgoldberg/xvfbwrapper"
+license=('MIT')
+depends=('python' 'xorg-server-xvfb')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('800f3489b2e1bbc884d7651e344ed73783d6c00856f3ab7ccfa6b9058dd6d3bb98d38f11172ba89dff5773d6c5b773bc000786c1f6c6aae5a27179b37017851e')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH=${srcdir}/${pkgname}-${pkgver}/build:${PYTHONPATH}
+ py.test
+}
+
+package_python-xvfbwrapper() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}/"
+ install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+# vim:set ts=2 sw=2 et:
Property changes on: python-xvfbwrapper/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list