diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-08-21 08:39:44 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-08-21 08:45:46 -0700 |
| commit | cef7568f26c2d60373f690179a795314986d9d01 (patch) | |
| tree | 96650a1cee95fe2aed7a195809867370de0474e5 /meta-python | |
| parent | 45e77092f5b27c7b1333d17146137f6735339754 (diff) | |
| download | meta-openembedded-cef7568f26c2d60373f690179a795314986d9d01.tar.gz | |
python3-pyproj: Remove absolute paths from cython generated .c files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb b/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb index b5403069bb..cad9464ccf 100644 --- a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb | |||
| @@ -21,3 +21,11 @@ RDEPENDS:${PN} = " \ | |||
| 21 | export PROJ_INCDIR = "${STAGING_INCDIR}" | 21 | export PROJ_INCDIR = "${STAGING_INCDIR}" |
| 22 | export PROJ_LIBDIR = "${STAGING_LIBDIR}" | 22 | export PROJ_LIBDIR = "${STAGING_LIBDIR}" |
| 23 | export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.." | 23 | export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.." |
| 24 | |||
| 25 | do_compile:append() { | ||
| 26 | for f in `find ${B} -name *.c` | ||
| 27 | do | ||
| 28 | sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f | ||
| 29 | done | ||
| 30 | python_pep517_do_compile | ||
| 31 | } | ||
