mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
python3-cython: Remove, moved to OE-core
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
1b4f2fb6c4
commit
7b227592bf
|
|
@ -22,7 +22,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
|
|||
python3-sijax python3-langtable python3-requests-file python3-crcmod python3-robotframework \
|
||||
python3-pint python3-coverage python3-iso8601 python3-ndg-httpsclient python3-yappi python3-twofish \
|
||||
python3-speaklater python3-smbus python3-djangorestframework python3-msgpack python3-jsonpointer \
|
||||
python3-flask-script python3-cassandra-driver python3-cython python3-ujson python3-aws-iot-device-sdk-python \
|
||||
python3-flask-script python3-cassandra-driver python3-ujson python3-aws-iot-device-sdk-python \
|
||||
python3-pytest-runner python3-pyiface python3-flask-login python3-markupsafe python3-setuptools-scm \
|
||||
python3-semver python3-sdnotify python3-flask-user python3-tornado python3-jsonpatch python3-pexpect \
|
||||
python3-progress python3-jsonschema python3-xstatic python3-pyroute2 python3-idna python3-sqlalchemy \
|
||||
|
|
|
|||
|
|
@ -1,40 +0,0 @@
|
|||
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] = "6e2f139e30bb08d68366f9370d87964c"
|
||||
SRC_URI[sha256sum] = "e4d6bb8703d0319eb04b7319b12ea41580df44fd84d83ccda13ea463c6801414"
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
inherit setuptools3
|
||||
require python-cython.inc
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
python3-setuptools \
|
||||
"
|
||||
|
||||
# running build_ext a second time during install fails, because Python
|
||||
# would then attempt to import cythonized modules built for the target
|
||||
# architecture.
|
||||
DISTUTILS_INSTALL_ARGS += "--skip-build"
|
||||
|
||||
do_install_append() {
|
||||
# rename scripts that would conflict with the Python 2 build of Cython
|
||||
mv ${D}${bindir}/cython ${D}${bindir}/cython3
|
||||
mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
|
||||
mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user