diff --git a/meta-python/recipes-devtools/python/python3-py7zr_1.1.3.bb b/meta-python/recipes-devtools/python/python3-py7zr_1.1.3.bb index 865e314f0a..1cbbe12fe4 100644 --- a/meta-python/recipes-devtools/python/python3-py7zr_1.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-py7zr_1.1.3.bb @@ -4,13 +4,14 @@ LICENSE = "LGPL-2.1-or-later" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" -SRC_URI[sha256sum] = "8d51894abb38355bf14881088bb97f01fe4cb5b14ebe22f66d6297668c7e1a74" +SRC_URI = "git://github.com/miurahr/py7zr.git;branch=master;protocol=https" +SRCREV = "e278bc05cc937ecd1ee62bc6a058db3a21e66614" CVE_PRODUCT = "py7zr" -inherit pypi python_setuptools_build_meta +inherit python_setuptools_build_meta ptest-python-pytest -DEPENDS += " \ +DEPENDS += "\ python3-setuptools-scm-native \ python3-toml-native \ python3-wheel-native \ @@ -29,3 +30,16 @@ RDEPENDS:${PN} += "\ python3-core \ python3-threading \ " + +RDEPENDS:${PN}-ptest += "\ + python3-texttable \ + python3-requests \ + python3-pytest-httpserver \ + python3-psutil \ +" + +do_install_ptest:append() { + # Remove liblzma pre-stripped binaries because they are not + # neeed and to avoid the already-stripped QA errors + rm -rf ${D}${PTEST_PATH}/tests/data/lib +}