diff mbox series

[meta-python] python3-zstandard: add a recipe for version 0.23.0

Message ID 20241103215409.1409757-1-thomas.perrot@bootlin.com
State Accepted
Headers show
Series [meta-python] python3-zstandard: add a recipe for version 0.23.0 | expand

Commit Message

Thomas Perrot Nov. 3, 2024, 9:54 p.m. UTC
From: Thomas Perrot <thomas.perrot@bootlin.com>

This package offers Python bindings to interface with the
Zstandard compression library.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python3-zstandard_0.23.0.bb               | 23 +++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 81f45fb78dd6..8ee1cdc10152 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -465,6 +465,7 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-yappi \
     python3-yarl \
     python3-zopeinterface \
+    python3-zstandard \
     telepathy-python3 \
     unattended-upgrades \
 "
diff --git a/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb b/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb
new file mode 100644
index 000000000000..e44e04038c16
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb
@@ -0,0 +1,23 @@ 
+SUMMARY = "Python bindings for interfacing with the Zstandard compression library"
+DESCRIPTION = "This project provides Python bindings for interfacing with the \
+               Zstandard compression library. A C extension and CFFI interface \
+	       are provided."
+HOMEPAGE = "https://github.com/indygreg/python-zstandard"
+BUGTRACKER = "https://github.com/indygreg/python-zstandard/issues"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3ae87c50fd64b6f0942823686871e758"
+
+DEPENDS = "python3-cffi"
+
+RDEPENDS_${PN} = "\
+    libzstd (>= 1.4.0) \
+    python3-cffi \
+"
+
+inherit setuptools3 pypi
+
+SRC_URI[sha256sum] = "b2d8c62d08e7255f68f7a740bae85b3c9b8e5466baa9cbf7f57f1cde0ac6bc09"
+
+# Because the pyproject.toml is still in development and it contains invalid
+# requirements.
+INSANE_SKIP += "pep517-backend"