mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
python3-schedule: Switch to using PEP-517 build backend
Add and enable ptests Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9bd046856d
commit
b1021f5468
|
|
@ -76,6 +76,7 @@ PTESTS_FAST_META_PYTHON = "\
|
|||
python3-rapidjson \
|
||||
python3-requests-file \
|
||||
python3-requests-toolbelt \
|
||||
python3-schedule \
|
||||
python3-semver \
|
||||
python3-serpent \
|
||||
python3-service-identity \
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6400f153491d45ea3459761627ca24b2"
|
|||
|
||||
SRC_URI[sha256sum] = "15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7"
|
||||
|
||||
inherit pypi setuptools3
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
do_install_ptest:append() {
|
||||
install -Dm 0644 ${S}/test_schedule.py ${D}${PTEST_PATH}/test_schedule.py
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += "python3-datetime python3-logging python3-math"
|
||||
RDEPENDS:${PN}-ptest += "python3-pytz"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user