| SUMMARY = "A simple, safe single expression evaluator library" |
| HOMEPAGE = "https://pypi.org/project/simpleeval/" |
| LICENSE = "MIT" |
| LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" |
| |
| SRC_URI[sha256sum] = "4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac" |
| |
| inherit pypi python_setuptools_build_meta ptest |
| |
| BBCLASSEXTEND = "native nativesdk" |
| |
| SRC_URI += "file://run-ptest" |
| |
| RDEPENDS:${PN} += " \ |
| python3-math \ |
| " |
| |
| RDEPENDS:${PN}-ptest += " \ |
| python3-pytest \ |
| python3-unittest-automake-output \ |
| " |
| |
| do_install_ptest() { |
| cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ |
| } |