From 0817913a638f27307a65a6d749309143e71a1c57 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 28 Apr 2021 16:54:47 +0300 Subject: python3-cachetools: Upgrade 4.2.1 -> 4.2.2 Upgrade to release 4.2.2: - Update build environment. - Remove Python 2 remnants. - Format code with Black. License-Update: Fix copyright year Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-cachetools_4.2.2.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cachetools_4.2.2.bb (limited to 'meta-python/recipes-devtools/python/python3-cachetools_4.2.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-cachetools_4.2.2.bb b/meta-python/recipes-devtools/python/python3-cachetools_4.2.2.bb new file mode 100644 index 0000000000..43049dafe7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachetools_4.2.2.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] = "61b5ed1e22a0924aed1d23b478f37e8d52549ff8a961de2909c69bf950020cff" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf