summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2020-05-17 17:34:55 +0300
committerKhem Raj <raj.khem@gmail.com>2020-05-19 17:14:08 -0700
commit7b227592bf825827224e39f994f9b483a8e09ba9 (patch)
treee5e6acfea4c6a1d5b13fd868f21c02f24c68175b
parent1b4f2fb6c4b3002161409da6be1d9df2dde2e929 (diff)
downloadmeta-openembedded-7b227592bf825827224e39f994f9b483a8e09ba9.tar.gz
python3-cython: Remove, moved to OE-core
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb2
-rw-r--r--meta-python/recipes-devtools/python/python-cython.inc40
-rw-r--r--meta-python/recipes-devtools/python/python3-cython_0.29.14.bb18
3 files changed, 1 insertions, 59 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 4036e1e201..596c20a8c5 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -22,7 +22,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
22 python3-sijax python3-langtable python3-requests-file python3-crcmod python3-robotframework \ 22 python3-sijax python3-langtable python3-requests-file python3-crcmod python3-robotframework \
23 python3-pint python3-coverage python3-iso8601 python3-ndg-httpsclient python3-yappi python3-twofish \ 23 python3-pint python3-coverage python3-iso8601 python3-ndg-httpsclient python3-yappi python3-twofish \
24 python3-speaklater python3-smbus python3-djangorestframework python3-msgpack python3-jsonpointer \ 24 python3-speaklater python3-smbus python3-djangorestframework python3-msgpack python3-jsonpointer \
25 python3-flask-script python3-cassandra-driver python3-cython python3-ujson python3-aws-iot-device-sdk-python \ 25 python3-flask-script python3-cassandra-driver python3-ujson python3-aws-iot-device-sdk-python \
26 python3-pytest-runner python3-pyiface python3-flask-login python3-markupsafe python3-setuptools-scm \ 26 python3-pytest-runner python3-pyiface python3-flask-login python3-markupsafe python3-setuptools-scm \
27 python3-semver python3-sdnotify python3-flask-user python3-tornado python3-jsonpatch python3-pexpect \ 27 python3-semver python3-sdnotify python3-flask-user python3-tornado python3-jsonpatch python3-pexpect \
28 python3-progress python3-jsonschema python3-xstatic python3-pyroute2 python3-idna python3-sqlalchemy \ 28 python3-progress python3-jsonschema python3-xstatic python3-pyroute2 python3-idna python3-sqlalchemy \
diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc
deleted file mode 100644
index 3260e92bac..0000000000
--- a/meta-python/recipes-devtools/python/python-cython.inc
+++ /dev/null
@@ -1,40 +0,0 @@
1DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
2It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
3and the messy, low-level world of C."
4SECTION = "devel/python"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
7PYPI_PACKAGE = "Cython"
8BBCLASSEXTEND = "native nativesdk"
9
10SRC_URI[md5sum] = "6e2f139e30bb08d68366f9370d87964c"
11SRC_URI[sha256sum] = "e4d6bb8703d0319eb04b7319b12ea41580df44fd84d83ccda13ea463c6801414"
12
13inherit pypi
14
15RDEPENDS_${PN}_class-target += "\
16 ${PYTHON_PN}-misc \
17 ${PYTHON_PN}-netserver \
18 ${PYTHON_PN}-pkgutil \
19 ${PYTHON_PN}-pyparsing \
20 ${PYTHON_PN}-setuptools \
21 ${PYTHON_PN}-shell \
22 ${PYTHON_PN}-xml \
23"
24
25RDEPENDS_${PN}_class-nativesdk += "\
26 nativesdk-${PYTHON_PN}-misc \
27 nativesdk-${PYTHON_PN}-netserver \
28 nativesdk-${PYTHON_PN}-pkgutil \
29 nativesdk-${PYTHON_PN}-pyparsing \
30 nativesdk-${PYTHON_PN}-setuptools \
31 nativesdk-${PYTHON_PN}-shell \
32 nativesdk-${PYTHON_PN}-xml \
33"
34
35do_install_append() {
36 # Make sure we use /usr/bin/env python
37 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
38 sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
39 done
40}
diff --git a/meta-python/recipes-devtools/python/python3-cython_0.29.14.bb b/meta-python/recipes-devtools/python/python3-cython_0.29.14.bb
deleted file mode 100644
index 2ce6bdbd68..0000000000
--- a/meta-python/recipes-devtools/python/python3-cython_0.29.14.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1inherit setuptools3
2require python-cython.inc
3
4RDEPENDS_${PN} += "\
5 python3-setuptools \
6"
7
8# running build_ext a second time during install fails, because Python
9# would then attempt to import cythonized modules built for the target
10# architecture.
11DISTUTILS_INSTALL_ARGS += "--skip-build"
12
13do_install_append() {
14 # rename scripts that would conflict with the Python 2 build of Cython
15 mv ${D}${bindir}/cython ${D}${bindir}/cython3
16 mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
17 mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
18}