On Tue, 7 Mar 2023 12:09:35 +0200 Adrian Bunk <b...@debian.org> wrote:
> 2. packages using python3-protobuf (e.g. python3-bernhard) ship files
>    that were generated with protobuf-compiler during their build
>    (e.g. /usr/lib/python3/dist-packages/bernhard/pb.py )

Can this generation be moved to postinst and use a dpkg trigger to regenerate it when protobuf is updated?

An example is https://sources.debian.org/src/node-constants-browserify/1.0.0%2Bdfsg-8/debian/postinst/

Though it would mean runtime dependency on protobuf-compiler.

Reply via email to