From 49d707e0301d7bcbad386cbf3dd205ef6fdc561c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 2 Aug 2024 18:30:36 +0300 Subject: python3-cachetools: Upgrade 5.3.3 -> 5.4.0 Upgrade to version 5.4.0: - Add the keys.typedmethodkey decorator. - Deprecate MRUCache class. - Deprecate @func.mru_cache decorator. - Update CI environment. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-cachetools_5.4.0.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb (limited to 'meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb new file mode 100644 index 0000000000..94d899db15 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachetools_5.4.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=539275e657c6b7af026bb908356f7541" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + python3-math \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +SRC_URI[sha256sum] = "b8adc2e7c07f105ced7bc56dbb6dfbe7c4a00acce20e2227b3f355be89bc6827" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf