summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-cython_3.1.0.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2025-05-12 10:43:51 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-15 10:55:26 +0100
commitc07c578e37d6ced3828343d881a861237d6db567 (patch)
treef7490dc2299e45d37850348278ffcb8e76a99a8a /meta/recipes-devtools/python/python3-cython_3.1.0.bb
parent64f584a98d5699540246019b17e39676bc47417c (diff)
downloadpoky-c07c578e37d6ced3828343d881a861237d6db567.tar.gz
python3-cython: upgrade 3.0.12 -> 3.1.0
Many changes are included with this release, including support for freethreading builds of CPython 3.13, cleanup of legacy code, and many other features and bug fixes. Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst Patch '0001-Output-import-relative-paths-in-generated-C-code.-GH.patch' is included in 3.1.0, so we no longer need the backport: |tgamblin@megalith ~/workspace/git/pythonsrc/cython (master)$ git tag --contains 20bceea6b19ffc2f65b9fba2e4f737f09e5a2b20 |3.1.0 |3.1.0-1 |3.1.0a1 |3.1.0b1 |3.1.0rc1 |3.1.0rc2 Reproducibility looks OK. (From OE-Core rev: 26a73392524f648015d55bf421a9b1bf5ac0d955) 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_3.1.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-cython_3.1.0.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_3.1.0.bb b/meta/recipes-devtools/python/python3-cython_3.1.0.bb
new file mode 100644
index 0000000000..f93135b94b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cython_3.1.0.bb
@@ -0,0 +1,44 @@
1SUMMARY = "The Cython language"
2HOMEPAGE = "https://pypi.org/project/Cython/"
3DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
4It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
5and the messy, low-level world of C."
6SECTION = "devel/python"
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
9
10SRC_URI[sha256sum] = "1097dd60d43ad0fff614a57524bfd531b35c13a907d13bee2cc2ec152e6bf4a1"
11
12inherit pypi setuptools3 cython
13
14# No need to depend on self
15DEPENDS:remove = "python3-cython-native"
16
17do_install:append() {
18 # rename scripts that would conflict with the Python 2 build of Cython
19 mv ${D}${bindir}/cython ${D}${bindir}/cython3
20 mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
21 mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
22}
23
24RDEPENDS:${PN}:class-target += "\
25 python3-misc \
26 python3-netserver \
27 python3-pkgutil \
28 python3-pyparsing \
29 python3-setuptools \
30 python3-shell \
31 python3-xml \
32"
33
34RDEPENDS:${PN}:class-nativesdk += "\
35 nativesdk-python3-misc \
36 nativesdk-python3-netserver \
37 nativesdk-python3-pkgutil \
38 nativesdk-python3-pyparsing \
39 nativesdk-python3-setuptools \
40 nativesdk-python3-shell \
41 nativesdk-python3-xml \
42"
43
44BBCLASSEXTEND = "native nativesdk"