From 64aa85936bb93b3f3670b13592402451bf7663d6 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Fri, 20 Mar 2020 10:23:01 +0800 Subject: python3-yarl: Enable ptest Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-yarl.inc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python-yarl.inc') diff --git a/meta-python/recipes-devtools/python/python-yarl.inc b/meta-python/recipes-devtools/python/python-yarl.inc index 98066d73b9..911c79d66f 100644 --- a/meta-python/recipes-devtools/python/python-yarl.inc +++ b/meta-python/recipes-devtools/python/python-yarl.inc @@ -6,9 +6,22 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b" SRC_URI[md5sum] = "08ba0d6e18f460b44d9e5459f3d217ba" SRC_URI[sha256sum] = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b" +SRC_URI += " \ + file://run-ptest \ +" + PYPI_PACKAGE = "yarl" -inherit pypi +inherit pypi ptest RDEPENDS_${PN} = "\ ${PYTHON_PN}-multidict \ ${PYTHON_PN}-idna \ " + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf