From fe4c5093a37b62ed5f96042e67be80ba8a0f3e9a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 14 Oct 2024 16:54:58 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-pyproj/rpath.patch | 2 +- .../python/python3-pyproj_3.6.1.bb | 31 ---------------------- .../python/python3-pyproj_3.7.0.bb | 31 ++++++++++++++++++++++ 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch b/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch index 347996a808..6e230d1055 100644 --- a/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch +++ b/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch @@ -6,7 +6,7 @@ Upstream-Status: Inappropriate [OE-Specific] Signed-off-by: Khem Raj --- a/setup.py +++ b/setup.py -@@ -194,9 +194,6 @@ def get_extension_modules(): +@@ -193,9 +193,6 @@ def get_extension_modules(): ext_options = { "include_dirs": include_dirs, "library_dirs": library_dirs, diff --git a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb b/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb deleted file mode 100644 index cad9464ccf..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb +++ /dev/null @@ -1,31 +0,0 @@ -SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=873757af01d2d221eedb422c4c1dd163" -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] = "44aa7c704c2b7d8fb3d483bbf75af6cb2350d30a63b144279a09b75fead501bf" - -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 -} 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 @@ +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 +} -- cgit v1.2.3-54-g00ecf