From 0f7cc1eeae774f5b25c42c6e3982ff6bb731b874 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Tue, 22 Dec 2020 13:02:51 +0800 Subject: 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 Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-cachetools_4.1.1.bb | 29 ------------------- .../python/python3-cachetools_4.2.0.bb | 33 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 29 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-cachetools_4.1.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-cachetools_4.2.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-cachetools_4.1.1.bb b/meta-python/recipes-devtools/python/python3-cachetools_4.1.1.bb deleted file mode 100644 index d334070cdb..0000000000 --- a/meta-python/recipes-devtools/python/python3-cachetools_4.1.1.bb +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "Extensible memoizing collections and decorators" -HOMEPAGE = "https://github.com/tkem/cachetools" -DESCRIPTION = "This module provides various memoizing \ -collections and decorators, including variants of the \ -Python 3 Standard Library @lru_cache function decorator." -SECTION = "devel/python" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2d1e1bf0ccb26126a230c51f997ce362" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -SRC_URI[md5sum] = "ae41b69896f49727e1621d279cb72522" -SRC_URI[sha256sum] = "bbaa39c3dede00175df2dc2b03d0cf18dd2d32a7de7beb68072d13043c9edb20" - -BBCLASSEXTEND = "native nativesdk" 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 @@ +SUMMARY = "Extensible memoizing collections and decorators" +HOMEPAGE = "https://github.com/tkem/cachetools" +DESCRIPTION = "This module provides various memoizing \ +collections and decorators, including variants of the \ +Python 3 Standard Library @lru_cache function decorator." +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2d1e1bf0ccb26126a230c51f997ce362" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +SRC_URI[md5sum] = "9d54dacd774e2af7e9a50741386f5455" +SRC_URI[sha256sum] = "3796e1de094f0eaca982441c92ce96c68c89cced4cd97721ab297ea4b16db90e" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf