Bug#1011937: python-debian: Please consider moving deb822 to a standalone distro-independent Python package

Niels Thykier niels at thykier.net
Thu Jun 9 07:30:08 BST 2022


On Sun, 29 May 2022 00:51:10 +1000 Stuart Prescott <stuart at debian.org>
wrote:
> Hi Stephan,
> 
> [...]
> 
> There's a few options here: 
> 
> [...]
> 
> * use something else to make the .deb files for the test suite. I could imagine 
> a fallback for missing ar(1) that uses a pure python ar implementation that 
> can be installed via pip on these other platforms. The arpy module can't make 
> ar files at present which is a shame; the `unix_ar` or `ar` modules look 
> promising for that, there might be others.
> 
> 	https://github.com/getninjas/unix_ar
> 	https://github.com/vidstige/ar
> [...]
> 
> cheers
> Stuart
> 
> 

For reference, I had a look at https://github.com/vidstige/ar and I
suspect it does not support writing based on:

 * Its definition of valid open modes are `MODES = 'rbt'`
 * There are no obvious "write"/"add member" functions.  I can only find
   read/load methods.


The `unix_ar` module looks more solid in that regard, so that is still
an option.

Thanks,
~Niels



More information about the pkg-python-debian-maint mailing list