diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-04-10 14:17:45 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-04-10 18:39:31 -0700 |
commit | b1021f5468b73367de358e61df6a7a714f9fd8b1 (patch) | |
tree | b29a19aba1837ac2af68d3fd600b7aa3bfb11c9f /meta-python | |
parent | 9bd046856df3f48c060989b1591d959aa4135831 (diff) | |
download | meta-openembedded-b1021f5468b73367de358e61df6a7a714f9fd8b1.tar.gz |
python3-schedule: Switch to using PEP-517 build backend
Add and enable ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 47a6430c96..99e0bfe115 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
@@ -76,6 +76,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
76 | python3-rapidjson \ | 76 | python3-rapidjson \ |
77 | python3-requests-file \ | 77 | python3-requests-file \ |
78 | python3-requests-toolbelt \ | 78 | python3-requests-toolbelt \ |
79 | python3-schedule \ | ||
79 | python3-semver \ | 80 | python3-semver \ |
80 | python3-serpent \ | 81 | python3-serpent \ |
81 | python3-service-identity \ | 82 | python3-service-identity \ |
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" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7" | 6 | SRC_URI[sha256sum] = "15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | |||
10 | do_install_ptest:append() { | ||
11 | install -Dm 0644 ${S}/test_schedule.py ${D}${PTEST_PATH}/test_schedule.py | ||
12 | } | ||
9 | 13 | ||
10 | RDEPENDS:${PN} += "python3-datetime python3-logging python3-math" | 14 | RDEPENDS:${PN} += "python3-datetime python3-logging python3-math" |
15 | RDEPENDS:${PN}-ptest += "python3-pytz" | ||