diff options
Diffstat (limited to 'meta-python/recipes-devtools/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.1.bb | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tzdata/run-ptest b/meta-python/recipes-devtools/python/python3-tzdata/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tzdata/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb b/meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb index d73b27a4f6..f4454f6dff 100644 --- a/meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb +++ b/meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb | |||
| @@ -8,3 +8,17 @@ SRC_URI[sha256sum] = "2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5cea | |||
| 8 | 8 | ||
| 9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
| 10 | 10 | ||
| 11 | inherit ptest | ||
| 12 | |||
| 13 | SRC_URI += "file://run-ptest" | ||
| 14 | |||
| 15 | RDEPENDS:${PN}-ptest += "\ | ||
| 16 | python3-pytest \ | ||
| 17 | python3-pytest-subtests \ | ||
| 18 | python3-unittest-automake-output \ | ||
| 19 | " | ||
| 20 | |||
| 21 | do_install_ptest() { | ||
| 22 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
| 23 | install ${S}/VERSION ${D}${PTEST_PATH}/ | ||
| 24 | } | ||
