python3-cairocffi: update to 1.3.0 and python3-xcffib as dependency

This commit is contained in:
Kai Stian Olstad 2022-08-01 16:45:39 +02:00 committed by Đoàn Trần Công Danh
parent e03730f576
commit 9714d6c4ac

View file

@ -1,10 +1,10 @@
# Template file for 'python3-cairocffi'
pkgname=python3-cairocffi
version=1.2.0
revision=2
version=1.3.0
revision=1
wrksrc="cairocffi-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-cffi python3-wheel"
hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
depends="python3-cffi cairo"
checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
short_desc="CFFI-based cairo bindings for Python3"
@ -13,7 +13,13 @@ license="BSD-3-Clause"
homepage="https://github.com/Kozea/cairocffi"
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
checksum=9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140
checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
build_options=xcb
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*|ppc64)
build_options_default="xcb"
esac
post_patch() {
vsed -e '/pytest-runner/d' -i setup.cfg