From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 8 Jun 2016 22:25:17 +0200 Subject: [Buildroot] [PATCH] package/fetchmail: fix *.pyc compilation In-Reply-To: <20160608200851.7108-1-s.martin49@gmail.com> References: <20160608200851.7108-1-s.martin49@gmail.com> Message-ID: <20160608222517.2e1a61ea@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 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