diff options
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 | 31 |
1 files changed, 31 insertions, 0 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 new file mode 100644 index 0000000000..0a8b710849 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa" | ||
4 | DEPENDS = "python3-cython proj" | ||
5 | DEPENDS:append:class-target = " python3-cython-native proj-native" | ||
6 | |||
7 | inherit pypi python_setuptools_build_meta | ||
8 | |||
9 | SRC_URI += "file://rpath.patch" | ||
10 | |||
11 | SRC_URI[sha256sum] = "bf658f4aaf815d9d03c8121650b6f0b8067265c36e31bc6660b98ef144d81813" | ||
12 | |||
13 | RDEPENDS:${PN} = " \ | ||
14 | python3-certifi \ | ||
15 | python3-compression \ | ||
16 | python3-json \ | ||
17 | python3-logging \ | ||
18 | python3-profile \ | ||
19 | " | ||
20 | |||
21 | export PROJ_INCDIR = "${STAGING_INCDIR}" | ||
22 | export PROJ_LIBDIR = "${STAGING_LIBDIR}" | ||
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 | } | ||