mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
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 <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
897 B
BlitzBasic
27 lines
897 B
BlitzBasic
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}/*"
|