diff options
| -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 | } | ||
