From 0c9b50a16d3ef248700be37bfc9e63d2cb3baad6 Mon Sep 17 00:00:00 2001 From: zangrc Date: Fri, 22 Oct 2021 05:08:26 +0800 Subject: python3-cachetools: upgrade 4.2.2 -> 4.2.4 v4.2.4 (2021-09-30) =================== - Add submodule shims for backward compatibility. v4.2.3 (2021-09-29) =================== - Add documentation and tests for using ``TTLCache`` with ``datetime``. - Link to typeshed typing stubs. - Flatten package file hierarchy. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-cachetools_4.2.4.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cachetools_4.2.4.bb (limited to 'meta-python/recipes-devtools/python/python3-cachetools_4.2.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-cachetools_4.2.4.bb b/meta-python/recipes-devtools/python/python3-cachetools_4.2.4.bb new file mode 100644 index 0000000000..1040dc7e5a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachetools_4.2.4.bb @@ -0,0 +1,32 @@ +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=439a07e400525964c3c82684146e46eb" + +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[sha256sum] = "89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf