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

package works with py2 and py3, there is no need to use 2to3
See
4ea1a5d15d
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
26 lines
649 B
BlitzBasic
26 lines
649 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[md5sum] = "f175fc12d408487ca26fa3905e0a6691"
|
|
SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea"
|
|
|
|
inherit pypi setuptools3 ptest
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
"
|
|
do_configure:prepend() {
|
|
sed -i -e "/use_2to3=True,/d" ${S}/setup.py
|
|
}
|
|
do_install_ptest() {
|
|
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
|
|
}
|