Files
poky/meta/recipes-devtools/python/python-cython.inc
Wang Mingyu d74800ca36 python3-cython: upgrade 0.29.34 -> 0.29.35
Changelog:
==========
* A garbage collection enabled subtype of a non-GC extension type could call into the
  deallocation function of the super type with GC tracking enabled.  This could lead
  to crashes during deallocation if GC was triggered on the type at the same time.
  (Github issue :issue:'5432')

* Some C compile failures and crashes in CPython 3.12 were resolved.

* "except + nogil" was syntactically not allowed.
  "except +nogil" (i.e. defining a C++ exception handling function called "nogil")
  is now disallowed to prevent typos.
  (Github issue :issue:'5430')

* A C compile failure in PyPy 3.10 was resolved.
  Patch by Matti Picus.  (Github issue :issue:'5408')

* Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later.
  Original patch by Matti Picus.  (Github issue :issue:'5413')

* API header files generated by different Cython versions can now be included in the
  same C file.
  (Github issue :issue:'5383')

* Function signatures containing a type like 'tuple[()]' could not be printed.
  Patch by Lisandro Dalcin.  (Github issue :issue:'5355')

(From OE-Core rev: 73a1e908048374d6873497beacab9ae26b258332)

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>
2023-06-02 15:16:36 +01:00

43 lines
1.3 KiB
PHP

SUMMARY = "The Cython language"
HOMEPAGE = "https://pypi.org/project/Cython/"
DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
and the messy, low-level world of C."
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
PYPI_PACKAGE = "Cython"
BBCLASSEXTEND = "native nativesdk"
SRC_URI[sha256sum] = "6e381fa0bf08b3c26ec2f616b19ae852c06f5750f4290118bf986b6f85c8c527"
UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
inherit pypi
RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-misc \
${PYTHON_PN}-netserver \
${PYTHON_PN}-pkgutil \
${PYTHON_PN}-pyparsing \
${PYTHON_PN}-setuptools \
${PYTHON_PN}-shell \
${PYTHON_PN}-xml \
"
RDEPENDS:${PN}:class-nativesdk += "\
nativesdk-${PYTHON_PN}-misc \
nativesdk-${PYTHON_PN}-netserver \
nativesdk-${PYTHON_PN}-pkgutil \
nativesdk-${PYTHON_PN}-pyparsing \
nativesdk-${PYTHON_PN}-setuptools \
nativesdk-${PYTHON_PN}-shell \
nativesdk-${PYTHON_PN}-xml \
"
do_install:append() {
# Make sure we use /usr/bin/env python
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
done
}