From 7c26a7d57db78d3a9cd15016823723c254f2b83c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 25 Sep 2024 14:49:04 +0800 Subject: python3-pycairo: upgrade 1.26.1 -> 1.27.0 Changelog: ========== - Drop support for Python 3.8 - Add Windows wheels for Python 3.13 - Updated cairo in Windows wheels from 1.18.0 to 1.18.2 - Port PEP517/wheel build from setuptools to meson-python. This means setup.py is gone. System packagers should not switch to wheel builds and continue using meson directly. - meson: install the package metadata to .dist-info/METADATA instead of .egg-info - Drop arm64 Windows wheels again. pypa/cibuildwheel does not support cross compiling with meson-python. They might be added back in the future if GitHub Actions gains a native Windows runner with arm64 support. (From OE-Core rev: bb9c6f0987a29cbacb838d30432d6271ce2f954a) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-pycairo_1.26.1.bb | 26 ---------------------- .../python/python3-pycairo_1.27.0.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pycairo_1.26.1.bb create mode 100644 meta/recipes-devtools/python/python3-pycairo_1.27.0.bb diff --git a/meta/recipes-devtools/python/python3-pycairo_1.26.1.bb b/meta/recipes-devtools/python/python3-pycairo_1.26.1.bb deleted file mode 100644 index 93f181bf5f..0000000000 --- a/meta/recipes-devtools/python/python3-pycairo_1.26.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -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] = "a11b999ce55b798dbf13516ab038e0ce8b6ec299b208d7c4e767a6f7e68e8430" - -S = "${WORKDIR}/pycairo-${PV}" - -inherit meson pkgconfig python3targetconfig github-releases - -CFLAGS += "-fPIC" - -BBCLASSEXTEND = "native" - -FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" diff --git a/meta/recipes-devtools/python/python3-pycairo_1.27.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.27.0.bb new file mode 100644 index 0000000000..3dab9e823f --- /dev/null +++ b/meta/recipes-devtools/python/python3-pycairo_1.27.0.bb @@ -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] = "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430" + +S = "${WORKDIR}/pycairo-${PV}" + +inherit meson pkgconfig python3targetconfig github-releases + +CFLAGS += "-fPIC" + +BBCLASSEXTEND = "native" + +FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" -- cgit v1.2.3-54-g00ecf