diff options
author | Derek Straka <derek@asterius.io> | 2025-01-10 20:08:20 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:46 -0800 |
commit | d61a246a555df1e069feae7b475cedbbf5441631 (patch) | |
tree | b4567ec72822447425fcee163fd5a59578f14e3d | |
parent | 9d3ffd74b956fa6ca6a5f80790bfd2a951243d81 (diff) | |
download | meta-openembedded-d61a246a555df1e069feae7b475cedbbf5441631.tar.gz |
python3-tzdata: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-tzdata/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tzdata/run-ptest b/meta-python/recipes-devtools/python/python3-tzdata/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tzdata/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb index 614d813e84..20e9715dd5 100644 --- a/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb +++ b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb | |||
@@ -6,20 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \ | |||
6 | 6 | ||
7 | SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc" | 7 | SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
10 | |||
11 | inherit ptest | ||
12 | |||
13 | SRC_URI += "file://run-ptest" | ||
14 | 10 | ||
15 | RDEPENDS:${PN}-ptest += "\ | 11 | RDEPENDS:${PN}-ptest += "\ |
16 | python3-attrs \ | 12 | python3-attrs \ |
17 | python3-pytest \ | ||
18 | python3-pytest-subtests \ | 13 | python3-pytest-subtests \ |
19 | python3-unittest-automake-output \ | ||
20 | " | 14 | " |
21 | 15 | ||
22 | do_install_ptest() { | 16 | do_install_ptest:append() { |
23 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
24 | install ${S}/VERSION ${D}${PTEST_PATH}/ | 17 | install ${S}/VERSION ${D}${PTEST_PATH}/ |
25 | } | 18 | } |