summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-cython.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/python/python-cython.inc
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) 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.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
index 04fd2ec2b7..e3f14fc49b 100644
--- a/meta/recipes-devtools/python/python-cython.inc
+++ b/meta/recipes-devtools/python/python-cython.inc
@@ -14,7 +14,7 @@ UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
14 14
15inherit pypi 15inherit pypi
16 16
17RDEPENDS_${PN}_class-target += "\ 17RDEPENDS:${PN}:class-target += "\
18 ${PYTHON_PN}-misc \ 18 ${PYTHON_PN}-misc \
19 ${PYTHON_PN}-netserver \ 19 ${PYTHON_PN}-netserver \
20 ${PYTHON_PN}-pkgutil \ 20 ${PYTHON_PN}-pkgutil \
@@ -24,7 +24,7 @@ RDEPENDS_${PN}_class-target += "\
24 ${PYTHON_PN}-xml \ 24 ${PYTHON_PN}-xml \
25" 25"
26 26
27RDEPENDS_${PN}_class-nativesdk += "\ 27RDEPENDS:${PN}:class-nativesdk += "\
28 nativesdk-${PYTHON_PN}-misc \ 28 nativesdk-${PYTHON_PN}-misc \
29 nativesdk-${PYTHON_PN}-netserver \ 29 nativesdk-${PYTHON_PN}-netserver \
30 nativesdk-${PYTHON_PN}-pkgutil \ 30 nativesdk-${PYTHON_PN}-pkgutil \
@@ -34,7 +34,7 @@ RDEPENDS_${PN}_class-nativesdk += "\
34 nativesdk-${PYTHON_PN}-xml \ 34 nativesdk-${PYTHON_PN}-xml \
35" 35"
36 36
37do_install_append() { 37do_install:append() {
38 # Make sure we use /usr/bin/env python 38 # Make sure we use /usr/bin/env python
39 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do 39 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
40 sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT 40 sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT