diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb new file mode 100644 index 0000000000..35cd19ffef --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "A simple, safe single expression evaluator library" | ||
2 | HOMEPAGE = "https://pypi.org/project/simpleeval/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" | ||
5 | |||
6 | SRC_URI[sha256sum] = "4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest | ||
9 | |||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | |||
12 | SRC_URI += "file://run-ptest" | ||
13 | |||
14 | RDEPENDS:${PN} += " \ | ||
15 | ${PYTHON_PN}-math \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | ${PYTHON_PN}-pytest \ | ||
20 | " | ||
21 | |||
22 | do_install_ptest() { | ||
23 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | ||
24 | } | ||