Files
poky/meta/recipes-devtools/python/python-cython.inc
Wang Mingyu 034223db3b python3-cython: upgrade 0.29.32 -> 0.29.33
Changelog:
==========
Features added
--------------
* The "cythonize" and "cython" commands have a new option "-M" / "--depfile"
  to generate ".dep" dependency files for the compilation unit.  This can be used
  by external build tools to track these dependencies.
  The "cythonize" option was already available in Cython :ref:'0.29.27'.

Bugs fixed
----------
* "const" fused types could not be used with memory views.
  Patch by Thomas Vincent.  (Github issue :issue:'1772')
* "wstr" usage was removed in Python 3.12 and later (PEP-623).
  (Github issue :issue:'5145')
* A type check assertion for Cython functions failed in debug Python builds.
  (Github issue :issue:'5031')
* Fixed various compiler warnings.
  Patches by Lisandro Dalcin et al.  (Github issues :issue:'4948', :issue:'5086')
* Fixed error when calculating complex powers of negative numbers.
  (Github issue :issue:'5014')
* Corrected a small mis-formatting of exception messages on Python 2.
  (Github issue :issue:'5018')
* The "PyUnicode_AsUTF8AndSize()" C-API function was missing from the CPython declarations.
  (Github issue :issue:'5163')
* A performance problem in the compiler was resolved when nesting conditional expressions.
  (Github issue :issue:'5197')
* Test suite problems with recent NumPy and CPython versions were resolved.
  (Github issues :issue:'5183', :issue:'5190')

Other changes
-------------
* The undocumented, untested and apparently useless syntax
  "from somemodule cimport class/struct/union somename" was deprecated
  in anticipation of its removal in Cython 3.  The type
  modifier is not needed here and a plain "cimport" of the name will do.
  (Github issue :issue:'4905')
* Properly disable generation of descriptor docstrings on PyPy since they cause crashes.
  It was previously disabled, but only accidentally via a typo.
  Patch by Matti Picus.  (Github issue :issue:'5083')
* The "cpow" directive of Cython 3.0 is available as a no-op.
  (Github issue :issue:'5016')

(From OE-Core rev: 4c5b05d92d691447d493ce87f32f4af907410c39)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00: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] = "5040764c4a4d2ce964a395da24f0d1ae58144995dab92c6b96f44c3f4d72286a"
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
}