community/python-xcffib to 0.11.0-1

This commit is contained in:
Kevin Mihelich 2020-12-15 18:35:59 +00:00
parent 8576b2f8dd
commit 47710e21a2

View file

@ -5,8 +5,8 @@
# - remove haskell-xcffib dependency by using the pypi release instead
pkgname=python-xcffib
pkgver=0.10.1
pkgrel=3
pkgver=0.11.0
pkgrel=1
pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
arch=('any')
url="https://pypi.python.org/pypi/xcffib"
@ -16,19 +16,19 @@ makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb')
checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha512sums=('98412fe36962108902dc0599f05ac9be5d7412d7f12fc6566e020c2ce84ae4a536a20ae2dfddd2dc9a536f37cd82539bf19e1993ee65f0b09c44372008cd7edf')
sha512sums=('22b82844295b277e2abb363ff818e7163037542ffc1ec2874a948f3b3cc63e9a8fad371fa87099910546a17f2f6f1bfb8f62214869fa30a196fc198adce14384')
prepare() {
touch xcffib-$pkgver/test/__init__.py
}
build() {
cd "$srcdir"/xcffib-$pkgver
cd xcffib-$pkgver
python setup.py build
}
check() {
cd "$srcdir"/xcffib-$pkgver
cd xcffib-$pkgver
xvfb-run nosetests3
}