diff mbox series

[meta-python,21/22] python3-snappy: upgrade 0.6.1 -> 0.7.3

Message ID 20261130084821.1501209-22-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, new recipes and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:48 a.m. UTC
0.7 replaces the C extension that linked libsnappy with a pure Python
implementation on top of cramjam, so the snappy dependency goes away.
setup.py lists cramjam in setup_requires, so depend on
python3-cramjam-native for the build. The sdist is now named
python_snappy, which the pypi class default already handles.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../{python3-snappy_0.6.1.bb => python3-snappy_0.7.3.bb} | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-snappy_0.6.1.bb => python3-snappy_0.7.3.bb} (53%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb b/meta-python/recipes-devtools/python/python3-snappy_0.7.3.bb
similarity index 53%
rename from meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb
rename to meta-python/recipes-devtools/python/python3-snappy_0.7.3.bb
index 4a3e7bc832..dcf6eb20cf 100644
--- a/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-snappy_0.7.3.bb
@@ -1,14 +1,15 @@ 
 DESCRIPTION = "Python library for the snappy compression library from Google"
-DEPENDS += "snappy"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b3090152f53ee19f6a7b64b1a36384fb"
 
-SRC_URI[sha256sum] = "b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a"
+SRC_URI[sha256sum] = "40216c1badfb2d38ac781ecb162a1d0ec40f8ee9747e610bcfefdfa79486cee3"
 
 inherit pypi setuptools3
 
 PYPI_PACKAGE = "python-snappy"
-PYPI_PACKAGE_SDIST = "python-snappy"
 
-RDEPENDS:${PN} += "snappy"
+# setup.py lists cramjam in setup_requires
+DEPENDS += "python3-cramjam-native"
+
+RDEPENDS:${PN} += "python3-cramjam"