Files
poky/meta/recipes-devtools/python/python-cython.inc
Wang Mingyu f9e6ab7fb8 python3-cython: upgrade 3.0.9 -> 3.0.10
Changelog:
==========
* Cython generated incorrect self-casts when directly calling final methods of subtypes.
* Internal C names generated from C function signatures could become too long for MSVC.
* The "noexcept" warnings could be misleading in some cases.
* The "@cython.ufunc" implementation could generate incomplete C code.
* The "libcpp.complex" declarations could result in incorrect C++ code.
* Several tests were adapted to work with both NumPy 1.x and 2.0.
* C compiler warnings when the freelist implementation is disabled (e.g. on PyPy) were fixed.
  It can now be disabled explicitly with the C macro guard "CYTHON_USE_FREELISTS=0".
* Some C macro guards for feature flags were missing from the NOGIL Python configuration.
* Some recently added builtins were unconditionally looked up at module import time
  (if used by user code) that weren't available on all Python versions and could thus
  fail the import.
* A performance hint regarding exported pxd declarations was improved.

(From OE-Core rev: 4c5840c01e40a012fcbdc316cbed817f4b3cf230)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00

46 lines
1.4 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=61c3ee8961575861fa86c7e62bc9f69c"
PYPI_PACKAGE = "Cython"
BBCLASSEXTEND = "native nativesdk"
SRC_URI[sha256sum] = "dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99"
UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
inherit pypi
RDEPENDS:${PN}:class-target += "\
python3-misc \
python3-netserver \
python3-pkgutil \
python3-pyparsing \
python3-setuptools \
python3-shell \
python3-xml \
"
RDEPENDS:${PN}:class-nativesdk += "\
nativesdk-python3-misc \
nativesdk-python3-netserver \
nativesdk-python3-pkgutil \
nativesdk-python3-pyparsing \
nativesdk-python3-setuptools \
nativesdk-python3-shell \
nativesdk-python3-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 python3|' $PYTHSCRIPT
done
# remove build paths from generated sources
sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
}