From 85b9417641d6446b4d2b12fc02ec94df69bccbce Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:17 +0000 Subject: python3-netaddr: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-netaddr_1.3.0.bb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb index b8a772566a..8b486d26ff 100644 --- a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb @@ -4,18 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=8afa43eca873b71d5d85dd0be1f707fa" SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ } -- cgit v1.2.3-54-g00ecf