[Pkg-samba-maint] talloc packaging as an example of multi-pyversions package

Michael Tokarev mjt at tls.msk.ru
Sun Apr 10 08:44:42 BST 2022


09.04.2022 21:57, Michael Tokarev wrote:
> Hi.
> 
> I tried to experiment with building multiple-pyversion library out
> of samba packages, using talloc as an example.  This is due to the
> current python transition mess.
[...]
And I just looked at python3-talloc rdepends in the morning, after having
enough coffee to prevent -ECOFFEE errors.  Heck... :)

The whole thing is entirely unnecessary. Because the only user of
python3-talloc package is.. guess it.. samba! :)

Initially when I was thinking about providing bindings for all python
versions, I looked at the rdepends of *libtalloc*, not its python stuff.
And was surprised it is used quite widely. And *thought* it is the same
for the python bits too. And this was my mistake.

I guess this work can be kept somewhere as an example, maybe I can
cherry-pick just one commit doing d/rules work but not the second
commit which brings up python3-all-dev build dependency.

But this was fun anyway :)

Thanks,

/mjt



More information about the Pkg-samba-maint mailing list