diff options
author | Derek Straka <derek@asterius.io> | 2025-01-10 20:08:13 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:44 -0800 |
commit | 4dbd8672ded26644b6961a16589c604ea5d2053c (patch) | |
tree | 6c9cf6e7f5960a7f3863a40eb20b868e149a5302 /meta-python | |
parent | 63cf96b31cb2e7d14a164b3478141d021da85a70 (diff) | |
download | meta-openembedded-4dbd8672ded26644b6961a16589c604ea5d2053c.tar.gz |
python3-wsproto: 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-wsproto/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb | 18 |
2 files changed, 3 insertions, 18 deletions
diff --git a/meta-python/recipes-devtools/python/python3-wsproto/run-ptest b/meta-python/recipes-devtools/python/python3-wsproto/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-wsproto/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb b/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb index 09f5565a94..4aac092fbe 100644 --- a/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb | |||
@@ -3,23 +3,11 @@ HOMEPAGE = "https://github.com/python-hyper/wsproto/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf" |
5 | 5 | ||
6 | inherit pypi setuptools3 ptest | 6 | inherit pypi setuptools3 ptest-python-pytest |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" | 8 | PTEST_PYTEST_DIR = "test" |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | 9 | ||
14 | RDEPENDS:${PN}-ptest += " \ | 10 | SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" |
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | 11 | ||
24 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
25 | python3-h11 \ | 13 | python3-h11 \ |