blob: e7aa06cd3ef2d5a6d89a537989e1011db2f0dee7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Astro Benzene <universebenzene at sina dot com>
pkgname=python2-pytest-xvfb
pkgver=1.2.0
pkgrel=1
pkgdesc="Pytest plugin to run Xvfb for tests"
arch=('i686' 'x86_64')
url="https://github.com/The-Compiler/pytest-xvfb"
license=('MIT')
depends=('python2>=2.7' 'python2-pytest>=2.8.1' 'python2-pyvirtualdisplay>=0.2.1')
makedepends=('python2-setuptools')
source=("https://files.pythonhosted.org/packages/source/p/pytest-xvfb/pytest-xvfb-${pkgver}.tar.gz")
md5sums=('a5e43fe3926c55b03fc12f4f149f059d')
package() {
cd ${srcdir}/pytest-xvfb-${pkgver}
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
python2 setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
}
|