From c024b911675b3e56fcadefab27947f9fe68ab8dc Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 8 Mar 2022 18:34:35 +0800 Subject: python3-pycairo: upgrade 1.20.1 -> 1.21.0 Changelog: ========= * Require Python 3.7+ :pr:'250' * Require meson 0.53+ * Using 'setup.py' directly to build/install pycairo is deprecated. Use meson instead. * 'setup.py' now requires setuptools. Previously it was optional. * The complete API reference is now included in the typing stubs, so it can be consumed/shown by IDEs. :pr:'236' :pr:'252' (From OE-Core rev: d83f8e31b929ea270a2cafda4ca3deaffbd7c54e) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-pycairo_1.20.1.bb | 27 ---------------------- .../python/python3-pycairo_1.21.0.bb | 26 +++++++++++++++++++++ 2 files changed, 26 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pycairo_1.20.1.bb create mode 100644 meta/recipes-devtools/python/python3-pycairo_1.21.0.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb b/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb deleted file mode 100644 index 5c236d40a3..0000000000 --- a/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb +++ /dev/null @@ -1,27 +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 = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz" -UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/" - -SRC_URI[md5sum] = "fa88a28cadbfb34192fe743d32c0ee33" -SRC_URI[sha256sum] = "1ee72b035b21a475e1ed648e26541b04e5d7e753d75ca79de8c583b25785531b" - -S = "${WORKDIR}/pycairo-${PV}" - -inherit meson pkgconfig python3targetconfig - -CFLAGS += "-fPIC" - -BBCLASSEXTEND = "native" - -FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" diff --git a/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb new file mode 100644 index 0000000000..29452c7660 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pycairo_1.21.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 = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz" +UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/" + +SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b" + +S = "${WORKDIR}/pycairo-${PV}" + +inherit meson pkgconfig python3targetconfig + +CFLAGS += "-fPIC" + +BBCLASSEXTEND = "native" + +FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" -- cgit v1.2.3-54-g00ecf