python3-pycairo: upgrade 1.25.0 -> 1.25.1

Changelog:
============
* Fix a crash with pypy3.10
* Fix the build with CPython 3.13.0a1

(From OE-Core rev: 2aef725b0d72a4af773139d4ed1e2ba00d6eef77)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2023-11-03 15:39:19 +08:00
committed by Richard Purdie
parent 18365b3a96
commit 9e9edea60f

View File

@@ -0,0 +1,26 @@
SUMMARY = "Python bindings for the Cairo canvas library"
HOMEPAGE = "http://cairographics.org/pycairo"
BUGTRACKER = "http://bugs.freedesktop.org"
SECTION = "python-devel"
LICENSE = "LGPL-2.1-only & MPL-1.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \
file://COPYING-LGPL-2.1;md5=fad9b3332be894bab9bc501572864b29 \
file://COPYING-MPL-1.1;md5=bfe1f75d606912a4111c90743d6c7325"
# cairo >= 1.14
DEPENDS = "cairo python3"
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz"
GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/"
SRC_URI[sha256sum] = "7e2be4fbc3b4536f16db7a11982cbf713e75069a4d73d44fe5a49b68423f5c0c"
S = "${WORKDIR}/pycairo-${PV}"
inherit meson pkgconfig python3targetconfig github-releases
CFLAGS += "-fPIC"
BBCLASSEXTEND = "native"
FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"