summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb18
1 files changed, 3 insertions, 15 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb
index 09f5565a94..4aac092fbe 100644
--- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb
@@ -3,23 +3,11 @@ HOMEPAGE = "https://github.com/python-hyper/wsproto/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf"
-inherit pypi setuptools3 ptest
+inherit pypi setuptools3 ptest-python-pytest
-SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065"
-
-SRC_URI += " \
- file://run-ptest \
-"
+PTEST_PYTEST_DIR = "test"
-RDEPENDS:${PN}-ptest += " \
- python3-pytest \
- python3-unittest-automake-output \
-"
-
-do_install_ptest() {
- install -d ${D}${PTEST_PATH}/tests
- cp -rf ${S}/test/* ${D}${PTEST_PATH}/tests/
-}
+SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065"
RDEPENDS:${PN} += " \
python3-h11 \