From b719a893066b27440c8bf3816e658e6b799e9fe4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 May 2024 10:48:07 -0400 Subject: python3-freezegun: upgrade 1.4.0 -> 1.5.0 Changelog: ============ * The default ignore list now contains the 'queue'-package * Added a missing 'move_to'-function when calling 'freeze_time(tick=True)' * Fixes a rounding error in 'time.time_ns()' * Fixed a bug where the default ignore list could not be empty ('configure(default_ignore_list=[])') * All 'tick()' methods now return the new datetime (instead of None) * Type improvements Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-freezegun_1.4.0.bb | 29 ---------------------- .../python/python3-freezegun_1.5.0.bb | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-freezegun_1.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.4.0.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.4.0.bb deleted file mode 100644 index 15c0bf06ba..0000000000 --- a/meta-python/recipes-devtools/python/python3-freezegun_1.4.0.bb +++ /dev/null @@ -1,29 +0,0 @@ -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] = "10939b0ba0ff5adaecf3b06a5c2f73071d9678e507c5eaedb23c761d56ac774b" - -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-sqlite3 \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} = "\ - python3-asyncio \ - python3-dateutil \ - python3-unittest \ -" diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb new file mode 100644 index 0000000000..b9cbedbf72 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb @@ -0,0 +1,29 @@ +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] = "200a64359b363aa3653d8aac289584078386c7c3da77339d257e46a01fb5c77c" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-sqlite3 \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} = "\ + python3-asyncio \ + python3-dateutil \ + python3-unittest \ +" -- cgit v1.2.3-54-g00ecf