summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2024-08-02 18:30:36 +0300
committerKhem Raj <raj.khem@gmail.com>2024-08-02 08:52:53 -0700
commit49d707e0301d7bcbad386cbf3dd205ef6fdc561c (patch)
treea3169a288579d3d126f3aab92bd6dd03cbc99e8b /meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb
parente06489f2697ff1fb3d6fa9927449f8610f3de4e1 (diff)
downloadmeta-openembedded-49d707e0301d7bcbad386cbf3dd205ef6fdc561c.tar.gz
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 <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb33
1 files changed, 33 insertions, 0 deletions
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 @@
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=539275e657c6b7af026bb908356f7541"
10
11inherit pypi python_setuptools_build_meta ptest
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN} += " \
18 python3-math \
19"
20
21RDEPENDS:${PN}-ptest += " \
22 python3-pytest \
23 python3-unittest-automake-output \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}
30
31SRC_URI[sha256sum] = "b8adc2e7c07f105ced7bc56dbb6dfbe7c4a00acce20e2227b3f355be89bc6827"
32
33BBCLASSEXTEND = "native nativesdk"