meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb
Wang Mingyu fe4c5093a3
python3-pyproj: upgrade 3.6.1 -> 3.7.0
License-Update: Copyright year updated to 2024.

rpath.patch
refreshed for 3.7.0

Changelog:
===========
- WHL: Wheels contain PROJ 9.4.1
- DEP: Minimum supported Python version 3.10
- DEP: Minimum PROJ version 9.2
- ENH: Add CRS.is_deprecated() and CRS.get_non_deprecated()
- PERF: thread local context
- ENH: Add runtime & compiled PROJ versions
- BUG: Handle changes to HotineObliqueMercatorBConversion

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-14 09:52:29 -07:00

32 lines
899 B
BlitzBasic

SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa"
DEPENDS = "python3-cython proj"
DEPENDS:append:class-target = " python3-cython-native proj-native"
inherit pypi python_setuptools_build_meta
SRC_URI += "file://rpath.patch"
SRC_URI[sha256sum] = "bf658f4aaf815d9d03c8121650b6f0b8067265c36e31bc6660b98ef144d81813"
RDEPENDS:${PN} = " \
python3-certifi \
python3-compression \
python3-json \
python3-logging \
python3-profile \
"
export PROJ_INCDIR = "${STAGING_INCDIR}"
export PROJ_LIBDIR = "${STAGING_LIBDIR}"
export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.."
do_compile:append() {
for f in `find ${B} -name *.c`
do
sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f
done
python_pep517_do_compile
}