From 8e56338b5010a7bac4888e5df09cb1a08931d7d6 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 17 Jan 2025 18:59:36 +0000 Subject: python3-scrypt: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-scrypt/run-ptest | 3 --- .../recipes-devtools/python/python3-scrypt_0.8.27.bb | 13 ++----------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-scrypt/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb index a3254de07d..02f1da8f59 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb @@ -7,22 +7,13 @@ SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" SRC_URI[sha256sum] = "a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7" -inherit pypi ptest setuptools3 dos2unix - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +inherit pypi ptest-python-pytest setuptools3 dos2unix RDEPENDS:${PN} += " \ python3-ctypes \ " -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ } -- cgit v1.2.3-54-g00ecf