summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-cython.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-01-05 14:35:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-10 17:01:28 +0000
commit5e1bc611d6255d07506eb736e6483a2b2c1773e5 (patch)
tree9b49e09998218f5ced7dceee29d37843b415c64e /meta/recipes-devtools/python/python-cython.inc
parent1a2708509216f1d94eb763081b76e9207323e098 (diff)
downloadpoky-5e1bc611d6255d07506eb736e6483a2b2c1773e5.tar.gz
python3-cython: update 0.29.36 -> 3.0.7
pep517 build backends require cython 3.x when python is at 3.12, so we can't hold this update any longer. There are only a few things in meta-oe and meta that break anymore, and fixes for them are provided at the same time as this patch. License-update: http -> https (From OE-Core rev: 21507a3be23a604259a6a903a7083db54d29487f) 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>
Diffstat (limited to 'meta/recipes-devtools/python/python-cython.inc')
-rw-r--r--meta/recipes-devtools/python/python-cython.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
index 6aec6b012f..bc1953c504 100644
--- a/meta/recipes-devtools/python/python-cython.inc
+++ b/meta/recipes-devtools/python/python-cython.inc
@@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
5and the messy, low-level world of C." 5and the messy, low-level world of C."
6SECTION = "devel/python" 6SECTION = "devel/python"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
9PYPI_PACKAGE = "Cython" 9PYPI_PACKAGE = "Cython"
10BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
11 11
12SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f" 12SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
13UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar" 13UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
14 14
15inherit pypi 15inherit pypi
@@ -39,4 +39,7 @@ do_install:append() {
39 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do 39 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
40 sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT 40 sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
41 done 41 done
42
43 # remove build paths from generated sources
44 sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
42} 45}