From 60a920ee5a28a5e8f16b3d0dbc6884a68b3c78d0 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 23 Mar 2023 12:14:37 +0800 Subject: python3-geojson: upgrade 2.5.0 -> 3.0.1 License-Update: Update library name in license Changelog: ========== Add Support for Python 3.11.x minor revisions Support for Python versions 3.7-3.11 (Python 2 no longer supported) Primary development branch renamed from master to main Handle all real numbers as coordinates Default precision improvements CI improvements utf-8 support added to geojson.dumps() Polygons now constrained to bounding box Better GeometryCollection handling in util.coords() Improved point validation Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-geojson_2.5.0.bb | 26 ---------------------- .../python/python3-geojson_3.0.1.bb | 25 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-geojson_3.0.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb b/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb deleted file mode 100644 index 40cf8bda76..0000000000 --- a/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Python bindings and utilities for GeoJSON" -HOMEPAGE = "https://pypi.org/project/geojson/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f48972abe5cddee79e301574742ed745" - -SRC_URI[md5sum] = "14753ed28678828b1de73f68b04e2324" -SRC_URI[sha256sum] = "6e4bb7ace4226a45d9c8c8b1348b3fc43540658359f93c3f7e03efa9f15f658a" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += "python3-simplejson python3-math" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.0.1.bb b/meta-python/recipes-devtools/python/python3-geojson_3.0.1.bb new file mode 100644 index 0000000000..671fe4f23a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-geojson_3.0.1.bb @@ -0,0 +1,25 @@ +SUMMARY = "Python bindings and utilities for GeoJSON" +HOMEPAGE = "https://pypi.org/project/geojson/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" + +SRC_URI[sha256sum] = "ff3d75acab60b1e66504a11f7ea12c104bad32ff3c410a807788663b966dee4a" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += "python3-simplejson python3-math" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf