python3-cairo: update to 1.23.0.

This commit is contained in:
mhmdanas 2023-04-05 12:02:45 +01:00 committed by classabbyamp
parent d973e22a5d
commit 99f48a8d62

View File

@ -1,9 +1,9 @@
# Template file for 'python3-cairo'
pkgname=python3-cairo
version=1.20.1
revision=5
build_style=python3-module
hostmakedepends="pkg-config python3-setuptools"
version=1.23.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="cairo-devel python3-devel"
depends="python3"
checkdepends="python3-pytest"
@ -11,12 +11,15 @@ short_desc="Python3 bindings for the cairo graphics library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, MPL-1.1"
homepage="https://pycairo.readthedocs.io/"
changelog="https://raw.githubusercontent.com/pygobject/pycairo/main/NEWS"
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
checksum=1ee72b035b21a475e1ed648e26541b04e5d7e753d75ca79de8c583b25785531b
checksum=9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c
do_check() {
python3 setup.py test
}
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args="-Dtests=true"
else
configure_args="-Dtests=false"
fi
python3-cairo-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"