mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

-Upgrade from python-cython_0.29.6.bb to python-cython_0.29.7.bb. -Upgrade from python3-cython_0.29.6.bb to python3-cython_0.29.7.bb. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
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[md5sum] = "24f6a7e0e6691fbecf5880f38cdf880e"
|
|
SRC_URI[sha256sum] = "55d081162191b7c11c7bfcb7c68e913827dfd5de6ecdbab1b99dab190586c1e8"
|
|
|
|
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
|
|
}
|