blob: cc697d5a95eb88d86921cb323fd144fc38d8ca03 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "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=2d1e1bf0ccb26126a230c51f997ce362"
10
Andrew Geisslerc87764f2020-06-27 00:16:32 -050011inherit pypi setuptools3 ptest
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
Andrew Geissler72956ed2021-01-08 16:11:14 -060017RDEPENDS_${PN} += " \
18 ${PYTHON_PN}-math \
19"
20
Andrew Geisslerc87764f2020-06-27 00:16:32 -050021RDEPENDS_${PN}-ptest += " \
22 ${PYTHON_PN}-pytest \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}
Andrew Geissler82c905d2020-04-13 13:39:40 -050029
Andrew Geissler72956ed2021-01-08 16:11:14 -060030SRC_URI[md5sum] = "9d54dacd774e2af7e9a50741386f5455"
31SRC_URI[sha256sum] = "3796e1de094f0eaca982441c92ce96c68c89cced4cd97721ab297ea4b16db90e"
Andrew Geissler82c905d2020-04-13 13:39:40 -050032
33BBCLASSEXTEND = "native nativesdk"