mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 17:32:06 +00:00
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>
This commit is contained in:
@@ -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 \
|
||||
"
|
||||
Reference in New Issue
Block a user