diff options
Diffstat (limited to 'meta/recipes-devtools/python/python-cython.inc')
-rw-r--r-- | meta/recipes-devtools/python/python-cython.inc | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc deleted file mode 100644 index 2235aa9332..0000000000 --- a/meta/recipes-devtools/python/python-cython.inc +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | SUMMARY = "The Cython language" | ||
2 | HOMEPAGE = "https://pypi.org/project/Cython/" | ||
3 | DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \ | ||
4 | It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ | ||
5 | and the messy, low-level world of C." | ||
6 | SECTION = "devel/python" | ||
7 | LICENSE = "Apache-2.0" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" | ||
9 | PYPI_PACKAGE = "Cython" | ||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | |||
12 | SRC_URI[sha256sum] = "a2d354f059d1f055d34cfaa62c5b68bc78ac2ceab6407148d47fb508cf3ba4f3" | ||
13 | UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar" | ||
14 | |||
15 | inherit pypi | ||
16 | |||
17 | RDEPENDS:${PN}:class-target += "\ | ||
18 | python3-misc \ | ||
19 | python3-netserver \ | ||
20 | python3-pkgutil \ | ||
21 | python3-pyparsing \ | ||
22 | python3-setuptools \ | ||
23 | python3-shell \ | ||
24 | python3-xml \ | ||
25 | " | ||
26 | |||
27 | RDEPENDS:${PN}:class-nativesdk += "\ | ||
28 | nativesdk-python3-misc \ | ||
29 | nativesdk-python3-netserver \ | ||
30 | nativesdk-python3-pkgutil \ | ||
31 | nativesdk-python3-pyparsing \ | ||
32 | nativesdk-python3-setuptools \ | ||
33 | nativesdk-python3-shell \ | ||
34 | nativesdk-python3-xml \ | ||
35 | " | ||
36 | |||
37 | do_install:append() { | ||
38 | # Make sure we use /usr/bin/env python | ||
39 | for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do | ||
40 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT | ||
41 | done | ||
42 | |||
43 | # remove build paths from generated sources | ||
44 | sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c | ||
45 | } | ||