blob: 4f899dc618ba4d4c47aaa16df5a559d93e069053 (
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
|
# Maintainer: Keith Toh <ktprograms@gmail.com>
pkgname=py3-xcffib
pkgver=0.11.1
pkgrel=1
pkgdesc="Drop-in replacement for xpyb based on cffi"
url="https://github.com/tych0/xcffib"
arch="noarch"
license="Apache-2.0"
depends="py3-six py3-cffi libxcb"
makedepends="py3-setuptools libxcb-dev"
checkdepends="py3-pytest xvfb-run xeyes"
source="https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz
fix-use-of-pytest.patch"
builddir="$srcdir/xcffib-$pkgver"
build() {
python3 setup.py build
}
check() {
xvfb-run -a pytest -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
09f4e19b88258446af26628c3a8e694c1f938fe3b5456e797b06174602fa0e9ef6e4eab76daccfd169d98fb7e869c910e6216d1f71fa2853e62b82c62c667669 xcffib-0.11.1.tar.gz
4ff61ba9a6ebd9ebc3ebed66d1f035b3022c2a6e56ae0a6d95c3fb5569a9ea7f6f7e99fe1a10353409cf55e6071c8e98e1e062d24184a8e7f8b1273b0ce98065 fix-use-of-pytest.patch
"
|