summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb
diff options
context:
space:
mode:
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.bb25
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 @@
1SUMMARY = "A simple, safe single expression evaluator library"
2HOMEPAGE = "https://pypi.org/project/simpleeval/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe"
5
6SRC_URI[sha256sum] = "f3d259deeb751d34c63e56747bab384efad63a2dbdb4f130281c42279788ac3c"
7
8inherit pypi python_setuptools_build_meta ptest
9
10BBCLASSEXTEND = "native nativesdk"
11
12SRC_URI += "file://run-ptest"
13
14RDEPENDS:${PN} += " \
15 python3-math \
16"
17
18RDEPENDS:${PN}-ptest += " \
19 python3-pytest \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
25}