python3-geojson: upgrade 3.1.0 -> 3.2.0

py3.13.patch
removed since it's included in 3.2.0

Changelog:
==========
- Add support for Python 3.13
- Code modernization
- RtD bugfix

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2024-12-24 17:26:20 +08:00
committed by Khem Raj
parent 48bee5e6f7
commit b7ea9a163d
2 changed files with 2 additions and 43 deletions

View File

@@ -0,0 +1,24 @@
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] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903"
inherit pypi setuptools3 ptest
SRC_URI += "file://run-ptest"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
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"