From b1021f5468b73367de358e61df6a7a714f9fd8b1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 10 Apr 2025 14:17:45 -0700 Subject: python3-schedule: Switch to using PEP-517 build backend Add and enable ptests Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb b/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb index ecf6bfd4c1..c1be5f9e22 100644 --- a/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb @@ -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" -- cgit v1.2.3-54-g00ecf