mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 07:27:20 +00:00
numba is optional for haversine, but haversine only catches ModuleNotFoundError. With the NumPy 2.5 from OE-Core, numba 0.66 (as in meta-python-ai) raises ImportError: Numba needs NumPy 2.4 or less. Got NumPy 2.5. which makes "import haversine" fail. Catch ImportError instead. AI-Generated: Claude Code, Claude Opus 5.5 Signed-off-by: Thomas Roos <thomas@roosesweb.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
13 lines
420 B
BlitzBasic
13 lines
420 B
BlitzBasic
SUMMARY = "Calculate the distance between 2 points on Earth"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=20a52d2c688975e989fcbee3e6c8d1a1"
|
|
|
|
SRC_URI += "file://0001-Fall-back-to-the-pure-Python-kernels-if-numba-fails-.patch"
|
|
SRC_URI[sha256sum] = "1103d7e1f0f108c25b31b63452c54d9d6f29389a70de7dd75fd4b908329b6fcf"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
RDEPENDS:${PN} += "python3-numpy"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|