From 3ac7852b9b8901b78424368e16cf8aea716ee7ec Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:37 +0000 Subject: python3-ecdsa: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb index 8e967f9259..f26c90d83b 100644 --- a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb @@ -6,19 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" PYPI_PACKAGE = "ecdsa" SRC_URI[sha256sum] = "60eaad1199659900dd0af521ed462b793bbdf867432b3948e87416ae4caf6bf8" -inherit pypi setuptools3 python3native ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 python3native ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-hypothesis \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ } -- cgit v1.2.3-54-g00ecf