Skip to contentSkip to conversation

python3-zstandard: add a recipe for version 0.23.0

PATCH New [email protected] 1 participant 1 message Nov 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-zstandard: add a recipe for version 0.23.0

From: Thomas Perrot <[email protected]>

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

---
 .../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
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index 81f45fb78dd6..8ee1cdc10152 100644
@@ -465,6 +465,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-yappi \
     python3-yarl \
     python3-zopeinterface \
+    python3-zstandard \
     telepathy-python3 \
     unattended-upgrades \
 "
meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb new file +23 -0
new file mode 100644
index 000000000000..e44e04038c16
@@ -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"
Signature · 1 line
2.47.0