python3-pyyaml: make compatible with cython 3.x

This has been rejected by upstream in favour of requiring obsolete cython
until there's 'proper' 3.x support. Months later, there's still no progress
so let's just take the rejected fix, as it does work (as reported by others as well),
and allows moving forward with cython.

(From OE-Core rev: cf4e45176a37b6f53a6316ec6b1556d6aea39b57)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2024-01-05 14:35:42 +01:00
committed by Richard Purdie
parent 7b3668a0aa
commit 1a27085092
2 changed files with 55 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ PYPI_PACKAGE = "PyYAML"
inherit pypi python_setuptools_build_meta
SRC_URI += "file://0001-Fix-builds-with-Cython-3.patch"
SRC_URI[sha256sum] = "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
RDEPENDS:${PN} += "\