diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-07-18 14:00:20 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-19 18:00:32 +0100 |
| commit | 08b3d726a818368b20fed06d7a89118bdebb6bc9 (patch) | |
| tree | 4fecc6ee956aa3929e37ff27cc7b1e1a20538dc5 /meta/recipes-devtools/python/python3-cython_0.29.35.bb | |
| parent | 90e1b9d63d17ec1e1d3c6c38e8910a8554abfba2 (diff) | |
| download | poky-08b3d726a818368b20fed06d7a89118bdebb6bc9.tar.gz | |
python3-cython: upgrade 0.29.35 -> 0.29.36
Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst
Bugs fixed
- Async generators lost their return value in PyPy. (Github issue :issue:`5465`)
- The outdated C macro _PyGC_FINALIZED() is no longer used in Py3.9+.
- The deprecated Py_OptimizeFlag is no longer used in Python 3.9+. (Github issue :issue:`5343`)
- Using the global __debug__ variable but not assertions could lead to compile errors.
- The broken HTML template support was removed from Tempita. (Github issue :issue:`3309`)
(From OE-Core rev: 8bbb6af6fe28ec950e0805b7aca7125c6cb5c802)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cython_0.29.35.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cython_0.29.35.bb | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.35.bb b/meta/recipes-devtools/python/python3-cython_0.29.35.bb deleted file mode 100644 index 78be2b94ed..0000000000 --- a/meta/recipes-devtools/python/python3-cython_0.29.35.bb +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-cython.inc | ||
| 3 | |||
| 4 | RDEPENDS:${PN} += "\ | ||
| 5 | python3-setuptools \ | ||
| 6 | " | ||
| 7 | |||
| 8 | # running build_ext a second time during install fails, because Python | ||
| 9 | # would then attempt to import cythonized modules built for the target | ||
| 10 | # architecture. | ||
| 11 | SETUPTOOLS_INSTALL_ARGS += "--skip-build" | ||
| 12 | |||
| 13 | do_install:append() { | ||
| 14 | # rename scripts that would conflict with the Python 2 build of Cython | ||
| 15 | mv ${D}${bindir}/cython ${D}${bindir}/cython3 | ||
| 16 | mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 | ||
| 17 | mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3 | ||
| 18 | } | ||
| 19 | |||
| 20 | PACKAGESPLITFUNCS =+ "cython_fix_sources" | ||
| 21 | |||
| 22 | cython_fix_sources () { | ||
| 23 | for f in ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/FlowControl.c \ | ||
| 24 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/FusedNode.c \ | ||
| 25 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/Scanning.c \ | ||
| 26 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/Visitor.c \ | ||
| 27 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Plex/Actions.c \ | ||
| 28 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Plex/Scanners.c \ | ||
| 29 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Runtime/refnanny.c \ | ||
| 30 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Tempita/_tempita.c \ | ||
| 31 | ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do | ||
| 32 | if [ -e $f ]; then | ||
| 33 | sed -i -e 's#${WORKDIR}/Cython-${PV}#/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}#g' $f | ||
| 34 | fi | ||
| 35 | done | ||
| 36 | } | ||
| 37 | |||
