From 0a1613d44a65a34ed9438bcdd6a6bb8228709886 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 31 May 2023 15:40:06 +0800 Subject: python3-cachetools: upgrade 5.3.0 -> 5.3.1 Changelog: Depend on Python >= 3.7. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-cachetools_5.3.1.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cachetools_5.3.1.bb (limited to 'meta-python/recipes-devtools/python/python3-cachetools_5.3.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.3.1.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.3.1.bb new file mode 100644 index 0000000000..739e5a8264 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachetools_5.3.1.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=1ec55353c80c662e4255f8889a0ca558" + +inherit pypi python_setuptools_build_meta 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] = "dce83f2d9b4e1f732a8cd44af8e8fab2dbe46201467fc98b3ef8f269092bf62b" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf