diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-17 18:59:43 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 11:29:14 -0800 |
| commit | 3eee9c0f509be55c53477ffd3c2567028e9a576c (patch) | |
| tree | 95df941da9aa424de6e4cf596fdf82b39f5c2ef3 /meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb | |
| parent | 90ab0bc4fe1fdc913cbd0bc5801d0833f8910c62 (diff) | |
| download | meta-openembedded-3eee9c0f509be55c53477ffd3c2567028e9a576c.tar.gz | |
python3-pytest-localserver: 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/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb index 669817829d..e9500bd3db 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb | |||
| @@ -5,25 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8da7a541d738b054dcbf70c31530432" | |||
| 5 | 5 | ||
| 6 | DEPENDS += "python3-setuptools-scm-native" | 6 | DEPENDS += "python3-setuptools-scm-native" |
| 7 | 7 | ||
| 8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 9 | 9 | ||
| 10 | SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" | 10 | SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" |
| 11 | 11 | ||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN}-ptest += " \ | 12 | RDEPENDS:${PN}-ptest += " \ |
| 17 | python3-pytest \ | ||
| 18 | python3-requests \ | 13 | python3-requests \ |
| 19 | python3-unittest-automake-output \ | ||
| 20 | " | 14 | " |
| 21 | 15 | ||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
| 26 | |||
| 27 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
| 28 | python3-werkzeug \ | 17 | python3-werkzeug \ |
| 29 | " | 18 | " |
