meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
Alexander Kanavin 5122ca2d5c
python3-geojson: backport python 3.13 patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-16 14:07:29 -07:00

28 lines
678 B
BlitzBasic

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 \
file://py3.13.patch \
"
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"