python3-geojson: fix build with python 3.14

Backport parts of an upstream PR that enables 3.14 in setup.py.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 68
|# PASS: 68
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 0
|END: /usr/lib/python3-geojson/ptest
|2026-01-23T18:03
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Trevor Gamblin
2026-01-23 13:04:08 -05:00
committed by Khem Raj
parent d59b67a78a
commit f7c4f4100d
2 changed files with 60 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a"
SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903"
SRC_URI += " \
file://0001-Allow-install-over-python-3.14-329.patch \
"
inherit pypi setuptools3 ptest-python-pytest
RDEPENDS:${PN} += "python3-simplejson python3-math"