[Buildroot] [PATCH] package/fetchmail: fix *.pyc compilation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jun 8 20:25:17 UTC 2016


Hello,

On Wed,  8 Jun 2016 22:08:51 +0200, Samuel Martin wrote:
> This change fixes the fetchmailconf.py compilation by adding a couple of
> patches making this script compatible with both python-2 and python-3:
> - tabs/spaces indentation fixes;
> - 2to3 fixes.
> 
> Fixes:
>   http://autobuild.buildroot.org/results/700/7009445dd116a1c02db82a351d38db44db8dad16/build-end.log
>   ...
> 
> These fetchmail patches have been sent upstream [1].
> 
> [1] https://sourceforge.net/p/fetchmail/mailman/message/35146111/
> 
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>

What is this fetchmailconf.py thing? I don't think we care enough about
it (it's not central to fetchmail functionality), so instead of
carrying a 3000+ lines patches, I would suggest to simply remove this
script in a post-install target hook.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list