python-zipp: remove the package
authorAlexandru Ardelean <redacted>
Sun, 31 May 2026 16:23:30 +0000 (19:23 +0300)
committerAlexandru Ardelean <redacted>
Sun, 31 May 2026 17:21:01 +0000 (20:21 +0300)
zipp is a small backport / forward-port of zipfile.Path, originally
useful when zipfile.Path was new in stdlib (Python 3.8). With the
python3 package now tracking 3.14, zipfile.Path covers what
zipp.Path exposes, and no other package in this repository declares
zipp as a runtime or build dependency.

Drop the package to remove the dead weight; users who still need it
can install it via pip on the target.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-zipp/Makefile [deleted file]
lang/python/python-zipp/patches/001-remove-coherent-licensed-build-dep.patch [deleted file]
lang/python/python-zipp/test.sh [deleted file]

diff --git a/lang/python/python-zipp/Makefile b/lang/python/python-zipp/Makefile
deleted file mode 100644 (file)
index a9dca78..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=python-zipp
-PKG_VERSION:=3.23.0
-PKG_RELEASE:=1
-
-PYPI_NAME:=zipp
-PKG_HASH:=a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166
-
-PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=LICENSE
-
-PKG_BUILD_DEPENDS:=python-setuptools/host python-setuptools-scm/host
-
-include ../pypi.mk
-include $(INCLUDE_DIR)/package.mk
-include ../python3-package.mk
-
-define Package/python3-zipp
-  SECTION:=lang
-  CATEGORY:=Languages
-  SUBMENU:=Python
-  TITLE:=Zipfile object wrapper
-  URL:=https://github.com/jaraco/zipp
-  DEPENDS:=+python3-light +python3-urllib
-endef
-
-define Package/python3-zipp/description
-  Backport of pathlib-compatible object wrapper for zip files
-endef
-
-$(eval $(call Py3Package,python3-zipp))
-$(eval $(call BuildPackage,python3-zipp))
-$(eval $(call BuildPackage,python3-zipp-src))
diff --git a/lang/python/python-zipp/patches/001-remove-coherent-licensed-build-dep.patch b/lang/python/python-zipp/patches/001-remove-coherent-licensed-build-dep.patch
deleted file mode 100644 (file)
index bbd4fef..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -3,7 +3,6 @@ requires = [
-       "setuptools>=77",
-       "setuptools_scm[toml]>=3.4.1",
-       # jaraco/skeleton#174
--      "coherent.licensed",
- ]
- build-backend = "setuptools.build_meta"
diff --git a/lang/python/python-zipp/test.sh b/lang/python/python-zipp/test.sh
deleted file mode 100644 (file)
index 077567f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-[ "$1" = python3-zipp ] || exit 0
-
-python3 - <<'EOF'
-import io
-import zipfile
-import zipp
-
-# Create an in-memory zip with a nested structure
-buf = io.BytesIO()
-with zipfile.ZipFile(buf, "w") as zf:
-    zf.writestr("a/b/c.txt", "hello")
-    zf.writestr("a/d.txt", "world")
-buf.seek(0)
-
-zf = zipfile.ZipFile(buf)
-root = zipp.Path(zf)
-
-# Navigate and read
-c = root / "a" / "b" / "c.txt"
-assert c.read_text() == "hello", f"unexpected content: {c.read_text()!r}"
-
-d = root / "a" / "d.txt"
-assert d.read_text() == "world", f"unexpected content: {d.read_text()!r}"
-
-# Test iterdir
-names = {p.name for p in (root / "a").iterdir()}
-assert names == {"b", "d.txt"}, f"unexpected names: {names}"
-
-# Test is_file / is_dir
-assert c.is_file()
-assert (root / "a" / "b").is_dir()
-EOF
git clone https://git.99rst.org/PROJECT