mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
pep517 build backends require cython 3.x when python is at 3.12, so we can't hold this update any longer. There are only a few things in meta-oe and meta that break anymore, and fixes for them are provided at the same time as this patch. License-update: http -> https (From OE-Core rev: 21507a3be23a604259a6a903a7083db54d29487f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
1.5 KiB
PHP
46 lines
1.5 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] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
|
|
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
|
|
|
|
# remove build paths from generated sources
|
|
sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
|
|
}
|