mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Changelog: ================ Bugs fixed ---------- * Several incompatibilities with CPython 3.11 were resolved. (Github issues #4411, #4414, #4415, #4416, #4420, #4428, #4473, #4479, #4480) * Some C compiler warnings were resolved. (Github issue #4439) * C++ "std::move()" should only be used automatically in MSVC versions that support it. (Github issue #4191) * The "Py_hash_t" type failed to accept arbitrary "index" values. (Github issue #2752) * Avoid copying unaligned 16-bit values since some platforms require them to be aligned. Use memcpy() instead to let the C compiler decide how to do it. (Github issue #4343) * Cython crashed on invalid truthiness tests on C++ types without "operator bool". (Github issue #4348) * The declaration of "PyUnicode_CompareWithASCIIString()" in "cpython.unicode" was incorrect. (Github issue #4344) (From OE-Core rev: 8d8faad71e05703362d4004cc9ecdb93c08398ec) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
43 lines
1.3 KiB
PHP
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] = "a87cbe3756e7c464acf3e9420d8741e62d3b2eace0846cb39f664ad378aab284"
|
|
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
|
|
}
|