diff options
Diffstat (limited to 'meta-python')
-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 | } |