community/python-xcffib to 0.12.0-1

This commit is contained in:
Kevin Mihelich 2022-09-27 23:48:23 +00:00
parent 58593a9682
commit 3306890a7f

View file

@ -5,18 +5,18 @@
# - remove haskell-xcffib dependency by using the pypi release instead
pkgname=python-xcffib
pkgver=0.11.1
pkgrel=5
pkgver=0.12.0
pkgrel=1
pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
arch=('any')
url="https://pypi.python.org/pypi/xcffib"
license=('Apache')
depends=('python-six' 'python-cffi' 'libxcb')
makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb')
checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'xorg-server-xvfb' 'xorg-xeyes')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha512sums=('09f4e19b88258446af26628c3a8e694c1f938fe3b5456e797b06174602fa0e9ef6e4eab76daccfd169d98fb7e869c910e6216d1f71fa2853e62b82c62c667669')
sha512sums=('c780c20b19236d0c9814ee5f87eb149d303d3f1ffbefb61e8aae7b3f24a70df126d6f5fa545c83a811c628a088f891d173b621fea371bb7246f62366314b1630')
prepare() {
touch xcffib-$pkgver/test/__init__.py
@ -29,7 +29,7 @@ build() {
check() {
cd xcffib-$pkgver
xvfb-run nosetests3
xvfb-run pytest
}
package() {