Files
meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun_1.5.5.bb
T
Khem Raj d941cf8d00 python3-freezegun: Add missing zoneinfo ptest dependency
All test modules import zoneinfo, so pytest aborts collection with
"ModuleNotFoundError: No module named 'zoneinfo'" and no test runs.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 21:49:42 -08:00

22 lines
639 B
BlitzBasic

SUMMARY = "FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module."
HOMEPAGE = "https://github.com/spulec/freezegun"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe"
SRC_URI[sha256sum] = "ac7742a6cc6c25a2c35e9292dfd554b897b517d2dec26891a2e8debf205cb94a"
inherit pypi python_setuptools_build_meta ptest-python-pytest
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN}-ptest += " \
python3-sqlite3 \
python3-zoneinfo \
"
RDEPENDS:${PN} = "\
python3-asyncio \
python3-dateutil \
python3-unittest \
"