diff mbox series

[meta-python,11/32] python3-zipremove: Add recipe

Message ID 20261127041614.1775064-12-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream checks, upgrades and ptest fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:15 a.m. UTC
zipremove extends the standard zipfile module with remove-related
capabilities (ZipFile.remove(), repack()) for Python versions that do
not provide them.

It is a runtime dependency of python-sbom, which newer releases of the
tox-dev projects use as a hatchling build hook to write PEP 770 SBOMs
into their wheels.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../python/python3-zipremove_0.10.0.bb         | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-zipremove_0.10.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-zipremove_0.10.0.bb b/meta-python/recipes-devtools/python/python3-zipremove_0.10.0.bb
new file mode 100644
index 0000000000..960977a1d7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-zipremove_0.10.0.bb
@@ -0,0 +1,18 @@ 
+SUMMARY = "Extend zipfile with remove-related capabilities"
+HOMEPAGE = "https://github.com/danny0838/zipremove"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d2da6a8d85b7f2d0302ded46d6865430"
+
+SRC_URI[sha256sum] = "3c5957c115447b54299d3a23128764b59c4558fc98c4b878ff2dbc5db8a62021"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-wheel-native"
+
+RDEPENDS:${PN} += " \
+    python3-compression \
+    python3-core \
+    python3-io \
+"
+
+BBCLASSEXTEND = "native nativesdk"