Skip to contentSkip to conversation

python3-lz4: use system lz4 library

PATCH Superseded Ross Burton 1 participant 1 message Mar 17, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
index 40b2186b2c..5e6741c680 100644
@@ -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 setuptools_build_meta
+inherit pkgconfig pypi setuptools_build_meta
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1