diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-06-06 17:20:15 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-07 23:21:42 +0100 |
| commit | 46c0ed2fad5b3a862512f106758b11692a72d47b (patch) | |
| tree | 20bc6f9fbce91fc197bcfce732de4db3bf433319 /meta/recipes-devtools/python/python-cython.inc | |
| parent | 4928c4806f4ed4d277c0cefe03c3169df551b018 (diff) | |
| download | poky-46c0ed2fad5b3a862512f106758b11692a72d47b.tar.gz | |
python3-cython: remove redundant .inc file
There is no python-cython recipe in core, so merge the .bb and .inc.
(From OE-Core rev: 6c2cf318289cbd8c2732f8f7ddaa6750ab0f0276)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 87a2e88a1a..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] = "dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99" | ||
| 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 | } | ||
