blob: a5b81193c108a145a9421d78a50cdc0af9ca0211 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Astro Benzene <universebenzene at sina dot com>
pkgname=python2-pyvirtualdisplay
pkgver=1.3.2
pkgrel=1
pkgdesc="Python wrapper for Xvfb, Xephyr and Xvnc"
arch=('any')
url="http://pyvirtualdisplay.readthedocs.io"
license=('BSD')
depends=('python2>=2.7' 'python2-easyprocess')
#checkdepends=('python2-pytest' 'python2-backports.tempfile')
source=("https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-${pkgver}.tar.gz")
sha256sums=('3fa85a6e490e45eab64e6be19841e0ab15ec8054c97f162079a061da6a93eba0')
#build() {
# cd "${srcdir}/PyVirtualDisplay-${pkgver}"
#
# python2 setup.py build
#}
#
#check() {
# cd "${srcdir}/PyVirtualDisplay-${pkgver}"
#
# PYTHONPATH="./build/lib" pytest2
#}
package() {
cd "${srcdir}/PyVirtualDisplay-${pkgver}"
install -D -m644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -D -m644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
python2 setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
}
|