python3-lz4: use system lz4 library
PATCH v2 1/2 python3-lz4: use system lz4 library
Instead of using the copy of lz4 that is embedded in the python3-lz4 source code, use the system lz4 library.
python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"
--- meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +2 -1
@@ -4,12 +4,13 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" DEPENDS += " \ + lz4 \ ${PYTHON_PN}-setuptools-scm-native \ ${PYTHON_PN}-pkgconfig-native \ " SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pypi python_setuptools_build_meta +inherit pkgconfig pypi python_setuptools_build_meta BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH v2 2/2 python3-lz4: add ptest
--- .../recipes-devtools/python/python3-lz4/run-ptest | 3 +++ .../recipes-devtools/python/python3-lz4_4.0.0.bb | 12 +++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-lz4/run-ptest
meta-python/recipes-devtools/python/python3-lz4/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -v
meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +11 -1
@@ -9,8 +9,18 @@ DEPENDS += " \ ${PYTHON_PN}-pkgconfig-native \ " +SRC_URI += "file://run-ptest" + SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pkgconfig pypi python_setuptools_build_meta +inherit pkgconfig pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest ${PYTHON_PN}-multiprocessing ${PYTHON_PN}-psutil" + +do_install_ptest() { + cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ + # The stream API is experimental and not enabled yet, so don't ship the test suite + rm -rf ${D}${PTEST_PATH}/tests/stream +} BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
v1 was merged. Can you rebase and send the changes on top of master/master-next as v3
Quoted 42 lines · Ross Burton
Instead of using the copy of lz4 that is embedded in the python3-lz4 source code, use the system lz4 library.
python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"Signed-off-by Ross Burton <[email protected]>Signed-off-by Khem Raj <[email protected]>--- meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +2
-2@@ -4,12 +4,13 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" DEPENDS += " \ + lz4 \ ${PYTHON_PN}-setuptools-scm-native \ ${PYTHON_PN}-pkgconfig-native \ " SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pypi python_setuptools_build_meta +inherit pkgconfig pypi python_setuptools_build_meta BBCLASSEXTEND = "native nativesdk" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#96107): https://lists.openembedded.org/g/openembedded-devel/message/96107
Mute This Topic: https://lists.openembedded.org/mt/89925656/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
This was just a rebase on top of the python rename, so it's all in now.
Thanks
Ross
Quoted 50 lines · Khem Raj
v1 was merged. Can you rebase and send the changes on top of master/master-next as v3
Quoted 26 lines · Ross Burton
Instead of using the copy of lz4 that is embedded in the python3-lz4 source code, use the system lz4 library.
python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"Signed-off-by Ross Burton <[email protected]>Signed-off-by Khem Raj <[email protected]>--- meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +1
-0@@ -4,12 +4,13 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" DEPENDS += " \ + lz4 \meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb LICENSE = "BSD-3-Clause" · line 16
Quoted 10 lines
meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +1
-1${PYTHON_PN}-setuptools-scm-native \ ${PYTHON_PN}-pkgconfig-native \ " SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pypi python_setuptools_build_meta +inherit pkgconfig pypi python_setuptools_build_meta BBCLASSEXTEND = "native nativesdk"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#96112): https://lists.openembedded.org/g/openembedded-devel/message/96112
Mute This Topic: https://lists.openembedded.org/mt/89925656/1676615
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-