packages/lang/python/python-protobuf
Josef Schlehofer 6bec81f1cf python-protobuf: drop unused dependencies
python3-protobuf depends on protobuf and python3-ctypes, and the build
depends on protobuf/host. The PyPI source builds its extension module
from the bundled upb and utf8_range sources, ships the generated _pb2
modules and never runs protoc. Nothing in it uses ctypes.

The extension module needs only libc, libgcc_s and libpython in the
snapshot builds of ten architectures. Depend on python3-light alone.
A clean aarch64 system then installs 9.0 MB less, because protobuf,
protobuf-lite, libstdcpp, libatomic, python3-ctypes and libffi are no
longer pulled in.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-21 12:15:39 +02:00
..
Makefile python-protobuf: drop unused dependencies 2026-11-21 12:15:39 +02:00
test.sh
…