diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb new file mode 100644 index 000000000..00e208f9c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Extensible memoizing collections and decorators" | ||
2 | HOMEPAGE = "https://github.com/tkem/cachetools" | ||
3 | DESCRIPTION = "This module provides various memoizing \ | ||
4 | collections and decorators, including variants of the \ | ||
5 | Python 3 Standard Library @lru_cache function decorator." | ||
6 | SECTION = "devel/python" | ||
7 | |||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta ptest | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN} += " \ | ||
18 | python3-math \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | install -d ${D}${PTEST_PATH}/tests | ||
28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
29 | } | ||
30 | |||
31 | SRC_URI[sha256sum] = "2cc24fb4cbe39633fb7badd9db9ca6295d766d9c2995f245725a46715d050f2a" | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||