diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-11-16 23:48:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-20 15:30:53 +0000 |
commit | 02922c07b2623cc40ff9ec00f819296b44bac07d (patch) | |
tree | eac7c7c5db2ee55842fcbd06d7a10a5173d1dde3 /meta/recipes-devtools | |
parent | 2b7e37b18ccaeb597cf5cd21d38959ce4a3fbd20 (diff) | |
download | poky-02922c07b2623cc40ff9ec00f819296b44bac07d.tar.gz |
python3-cython: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 3ab3f2782fab9b4bf60f0efe68ce04401780b8a7)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3-cython_0.29.36.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_0.29.36.bb index 78be2b94ed..07638d7ad7 100644 --- a/meta/recipes-devtools/python/python3-cython_0.29.36.bb +++ b/meta/recipes-devtools/python/python3-cython_0.29.36.bb | |||
@@ -20,17 +20,17 @@ do_install:append() { | |||
20 | PACKAGESPLITFUNCS =+ "cython_fix_sources" | 20 | PACKAGESPLITFUNCS =+ "cython_fix_sources" |
21 | 21 | ||
22 | cython_fix_sources () { | 22 | cython_fix_sources () { |
23 | for f in ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/FlowControl.c \ | 23 | for f in ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FlowControl.c \ |
24 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/FusedNode.c \ | 24 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FusedNode.c \ |
25 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/Scanning.c \ | 25 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Scanning.c \ |
26 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/Visitor.c \ | 26 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Visitor.c \ |
27 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Plex/Actions.c \ | 27 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Actions.c \ |
28 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Plex/Scanners.c \ | 28 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Scanners.c \ |
29 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Runtime/refnanny.c \ | 29 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Runtime/refnanny.c \ |
30 | ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Tempita/_tempita.c \ | 30 | ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Tempita/_tempita.c \ |
31 | ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do | 31 | ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do |
32 | if [ -e $f ]; then | 32 | if [ -e $f ]; then |
33 | sed -i -e 's#${WORKDIR}/Cython-${PV}#/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}#g' $f | 33 | sed -i -e 's#${WORKDIR}/Cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f |
34 | fi | 34 | fi |
35 | done | 35 | done |
36 | } | 36 | } |