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/ }