Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 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 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 7 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 8 | inherit pypi python_setuptools_build_meta ptest |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 9 | |
| 10 | BBCLASSEXTEND = "native nativesdk" |
| 11 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame] | 12 | SRC_URI += "file://run-ptest" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | |
| 14 | RDEPENDS:${PN} += " \ |
| 15 | ${PYTHON_PN}-math \ |
| 16 | " |
| 17 | |
| 18 | RDEPENDS:${PN}-ptest += " \ |
| 19 | ${PYTHON_PN}-pytest \ |
| 20 | " |
| 21 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | do_install_ptest() { |
| 23 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ |
| 24 | } |