python3-lz4: Drop using PYTHON_PN
PATCH 1/2 python3-lz4: Drop using PYTHON_PN
PYTHON_PN was useful when sharing recipes with py2
Signed-off-by Khem Raj <[email protected]>
--- meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb +3 -3
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" DEPENDS += " \ lz4 \ - ${PYTHON_PN}-setuptools-scm-native \ - ${PYTHON_PN}-pkgconfig-native \ + python3-setuptools-scm-native \ + python3-pkgconfig-native \ " SRC_URI += "file://run-ptest"
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "e1431d84a9cfb23e6773e72078ce8e65cad6745816d4cbf9ae67da5ea4 inherit pkgconfig pypi python_setuptools_build_meta ptest -RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest ${PYTHON_PN}-multiprocessing ${PYTHON_PN}-psutil" +RDEPENDS:${PN}-ptest += "python3-pytest python3-multiprocessing python3-psutil" do_install_ptest() { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
Signature · 1 line
2.42.0
PATCH 2/2 python3-lz4: Add missing rdeps needed for ptests
Signed-off-by Khem Raj <[email protected]>
--- meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb +8 -1
@@ -15,7 +15,14 @@ SRC_URI[sha256sum] = "e1431d84a9cfb23e6773e72078ce8e65cad6745816d4cbf9ae67da5ea4 inherit pkgconfig pypi python_setuptools_build_meta ptest -RDEPENDS:${PN}-ptest += "python3-pytest python3-multiprocessing python3-psutil" +RDEPENDS:${PN}-ptest += "\ + python3-coverage \ + python3-pytest \ + python3-pytest-cov \ + python3-pytest-runner \ + python3-multiprocessing \ + python3-psutil \ +" do_install_ptest() { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
Signature · 1 line
2.42.0