diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb new file mode 100644 index 0000000000..686f54b41d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb | |||
@@ -0,0 +1,25 @@ | |||
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=83843c8f0f3beb18af2f282faecbdebe" | ||
5 | |||
6 | SRC_URI[sha256sum] = "f3d259deeb751d34c63e56747bab384efad63a2dbdb4f130281c42279788ac3c" | ||
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 | python3-math \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | " | ||
22 | |||
23 | do_install_ptest() { | ||
24 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | ||
25 | } | ||