summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-cython_0.29.33.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-04-10 17:37:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-13 11:56:07 +0100
commitbd346a9eca861ec02d2e6f8c2f3ed092ac887bc0 (patch)
tree0d9e41bec54328234a5b54e03aeee09e446e1a1d /meta/recipes-devtools/python/python3-cython_0.29.33.bb
parent94d818760d5afd7ab4749e50de8d19078bc8c061 (diff)
downloadpoky-bd346a9eca861ec02d2e6f8c2f3ed092ac887bc0.tar.gz
python3-cython: upgrade 0.29.33 -> 0.29.34
Bugs fixed ========== - A refence leak of the for-loop list/tuple iterable was resolved if the for-loop's else: branch executes a break for an outer loop. - Some C compile failures in CPython 3.12 were resolved. - Some old usages of the deprecated Python imp module were replaced with importlib. - Some issues with depfile generation were resolved. (From OE-Core rev: 4589082930c86aa4a24003c79cd99d6e414cbf44) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cython_0.29.33.bb')
-rw-r--r--meta/recipes-devtools/python/python3-cython_0.29.33.bb37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.33.bb b/meta/recipes-devtools/python/python3-cython_0.29.33.bb
deleted file mode 100644
index 78be2b94ed..0000000000
--- a/meta/recipes-devtools/python/python3-cython_0.29.33.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1inherit setuptools3
2require python-cython.inc
3
4RDEPENDS:${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.
11SETUPTOOLS_INSTALL_ARGS += "--skip-build"
12
13do_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
20PACKAGESPLITFUNCS =+ "cython_fix_sources"
21
22cython_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