From 8ac8e4d009032cba624ed9f0a63835d71910cee4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 9 Nov 2023 12:39:06 +0800 Subject: python3-geojson: upgrade 3.0.1 -> 3.1.0 Changelog: =========== Add support for Python 3.12 CI improvements Unit test improvements Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-geojson_3.1.0.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb new file mode 100644 index 0000000000..79ad228d1c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.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] = "58a7fa40727ea058efc28b0e9ff0099eadf6d0965e04690830208d3ef571adac" + +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