diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-10 22:31:34 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:47 -0800 |
| commit | fa1ebe8c8072ada4f418625d8b2a35b21f5400af (patch) | |
| tree | 747b3b0059d64a9dd2a1e82b1f85f35c8ba6e9e4 /meta-python | |
| parent | 5b40bae867166f9cf294a0eca03e333c36a0a085 (diff) | |
| download | meta-openembedded-fa1ebe8c8072ada4f418625d8b2a35b21f5400af.tar.gz | |
python3-serpent: 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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-serpent/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-serpent_1.41.bb | 12 |
2 files changed, 1 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-serpent/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb index 9265081fd0..f6c7b5443b 100644 --- a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb +++ b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb | |||
| @@ -4,25 +4,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263" | |||
| 4 | 4 | ||
| 5 | SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095" | 5 | SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095" |
| 6 | 6 | ||
| 7 | inherit pypi ptest setuptools3 | 7 | inherit pypi ptest-python-pytest setuptools3 |
| 8 | 8 | ||
| 9 | SRC_URI += " \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | # python3-misc for timeit.py | 9 | # python3-misc for timeit.py |
| 13 | RDEPENDS:${PN}-ptest += " \ | 10 | RDEPENDS:${PN}-ptest += " \ |
| 14 | python3-attrs \ | 11 | python3-attrs \ |
| 15 | python3-misc \ | 12 | python3-misc \ |
| 16 | python3-pytest \ | ||
| 17 | python3-pytz \ | 13 | python3-pytz \ |
| 18 | python3-unittest-automake-output \ | ||
| 19 | " | 14 | " |
| 20 | 15 | ||
| 21 | do_install_ptest() { | ||
| 22 | install -d ${D}${PTEST_PATH}/tests | ||
| 23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 24 | } | ||
| 25 | |||
| 26 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
| 27 | python3-netclient \ | 17 | python3-netclient \ |
| 28 | python3-numbers \ | 18 | python3-numbers \ |
