diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-05-02 10:48:07 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-02 07:32:49 -0700 |
| commit | b719a893066b27440c8bf3816e658e6b799e9fe4 (patch) | |
| tree | a652333cd1a882207b80c99c42f62976394b84d8 /meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb | |
| parent | b2ef3ebf002cb09e5d352569637486ce496603ae (diff) | |
| download | meta-openembedded-b719a893066b27440c8bf3816e658e6b799e9fe4.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module." | ||
| 2 | HOMEPAGE = "https://github.com/spulec/freezegun" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "200a64359b363aa3653d8aac289584078386c7c3da77339d257e46a01fb5c77c" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN}-ptest += " \ | ||
| 15 | python3-pytest \ | ||
| 16 | python3-sqlite3 \ | ||
| 17 | python3-unittest-automake-output \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest() { | ||
| 21 | install -d ${D}${PTEST_PATH}/tests | ||
| 22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 23 | } | ||
| 24 | |||
| 25 | RDEPENDS:${PN} = "\ | ||
| 26 | python3-asyncio \ | ||
| 27 | python3-dateutil \ | ||
| 28 | python3-unittest \ | ||
| 29 | " | ||
