summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb
diff options
context:
space:
mode:
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.bb31
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 @@
1SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa"
4DEPENDS = "python3-cython proj"
5DEPENDS:append:class-target = " python3-cython-native proj-native"
6
7inherit pypi python_setuptools_build_meta
8
9SRC_URI += "file://rpath.patch"
10
11SRC_URI[sha256sum] = "bf658f4aaf815d9d03c8121650b6f0b8067265c36e31bc6660b98ef144d81813"
12
13RDEPENDS:${PN} = " \
14 python3-certifi \
15 python3-compression \
16 python3-json \
17 python3-logging \
18 python3-profile \
19"
20
21export PROJ_INCDIR = "${STAGING_INCDIR}"
22export PROJ_LIBDIR = "${STAGING_LIBDIR}"
23export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.."
24
25do_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}