summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-05-14 17:09:54 +0800
committerKhem Raj <raj.khem@gmail.com>2024-05-19 08:27:55 -0700
commit5ba4fd85f6d77eff5f57e9520adba050dd33a25b (patch)
tree39e0f2e46f38d95960aad8186a5eb2f1155805aa /meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
parentf87e4ddb7802e462e5bff66a66c0ba715fc47ba2 (diff)
downloadmeta-openembedded-5ba4fd85f6d77eff5f57e9520adba050dd33a25b.tar.gz
python3-freezegun: upgrade 1.5.0 -> 1.5.1
Changelog: Fix the typing of the 'tick()' method, and improve it's behaviour. 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.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
new file mode 100644
index 0000000000..8b5750df43
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
@@ -0,0 +1,29 @@
1SUMMARY = "FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module."
2HOMEPAGE = "https://github.com/spulec/freezegun"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe"
5
6SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9"
7
8inherit pypi python_setuptools_build_meta ptest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14RDEPENDS:${PN}-ptest += " \
15 python3-pytest \
16 python3-sqlite3 \
17 python3-unittest-automake-output \
18"
19
20do_install_ptest() {
21 install -d ${D}${PTEST_PATH}/tests
22 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
23}
24
25RDEPENDS:${PN} = "\
26 python3-asyncio \
27 python3-dateutil \
28 python3-unittest \
29"