diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-11-07 17:29:02 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-11-19 13:50:56 -0800 |
| commit | 22e83adc79080e752889f4be52b7e637f0848cbd (patch) | |
| tree | 8c7085cbf840f2761fd09e02348042e90e481301 /meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb | |
| parent | 5c19beb0bb1bd81cddb8c9417fd58daf8c28eb2f (diff) | |
| download | meta-openembedded-22e83adc79080e752889f4be52b7e637f0848cbd.tar.gz | |
python3-pyproj: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb index 0a8b710849..70bc3b76a3 100644 --- a/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb | |||
| @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa" | |||
| 4 | DEPENDS = "python3-cython proj" | 4 | DEPENDS = "python3-cython proj" |
| 5 | DEPENDS:append:class-target = " python3-cython-native proj-native" | 5 | DEPENDS:append:class-target = " python3-cython-native proj-native" |
| 6 | 6 | ||
| 7 | inherit pypi python_setuptools_build_meta | 7 | inherit pypi python_setuptools_build_meta cython |
| 8 | 8 | ||
| 9 | SRC_URI += "file://rpath.patch" | 9 | SRC_URI += "file://rpath.patch" |
| 10 | 10 | ||
| @@ -21,11 +21,3 @@ 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 | } | ||
