summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-12-22 13:02:51 +0800
committerKhem Raj <raj.khem@gmail.com>2021-01-04 14:48:29 -0800
commit0f7cc1eeae774f5b25c42c6e3982ff6bb731b874 (patch)
tree3e9dbf1f907ddd9e3ff36a8f9c3ba944be54278c /meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb
parentd9f3b767a261dda1a56e1c97cb8fc8ac1bf4b33f (diff)
downloadmeta-openembedded-0f7cc1eeae774f5b25c42c6e3982ff6bb731b874.tar.gz
python3-cachetools: upgrade 4.1.1 -> 4.2.0
v4.2.0 (2020-12-10) =================== - Add FIFO cache implementation. - Add MRU cache implementation. - Improve behavior of decorators in case of race conditions. - Improve documentation regarding mutability of caches values and use of key functions with decorators. - Officially support Python 3.9. The ptest log is as follows: START: ptest-runner 2020-12-22T02:58 BEGIN: /usr/lib/python3-cachetools/ptest ============================= test session starts ============================== platform linux -- Python 3.9.0, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 rootdir: /usr/lib/python3-cachetools/ptest collected 164 items ... ============================= 164 passed in 12.95s ============================= DURATION: 21 END: /usr/lib/python3-cachetools/ptest 2020-12-22T02:58 STOP: ptest-runner Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb b/meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb
new file mode 100644
index 0000000000..cc697d5a95
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Extensible memoizing collections and decorators"
2HOMEPAGE = "https://github.com/tkem/cachetools"
3DESCRIPTION = "This module provides various memoizing \
4collections and decorators, including variants of the \
5Python 3 Standard Library @lru_cache function decorator."
6SECTION = "devel/python"
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=2d1e1bf0ccb26126a230c51f997ce362"
10
11inherit pypi setuptools3 ptest
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS_${PN} += " \
18 ${PYTHON_PN}-math \
19"
20
21RDEPENDS_${PN}-ptest += " \
22 ${PYTHON_PN}-pytest \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}
29
30SRC_URI[md5sum] = "9d54dacd774e2af7e9a50741386f5455"
31SRC_URI[sha256sum] = "3796e1de094f0eaca982441c92ce96c68c89cced4cd97721ab297ea4b16db90e"
32
33BBCLASSEXTEND = "native nativesdk"