mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
613 B
BlitzBasic
26 lines
613 B
BlitzBasic
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}/
|
|
}
|