Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] pseudo: fix build for python3 based distros
@ 2016-11-05  3:55 Gaël PORTAY
  2016-11-05  3:55 ` [Buildroot] [PATCH] " Gaël PORTAY
  0 siblings, 1 reply; 6+ messages in thread
From: Gaël PORTAY @ 2016-11-05  3:55 UTC (permalink / raw)
  To: buildroot

This patch brings the support for python3 to pseudo, and it remains compatible
with python2 (to keep compatibility).

The patches has been tested on BR and the generated C files (.h and .c) are
identical for those three cases:
 - original source using python2,
 - patched source using python2, and
 - patched source using python3.

Damien Riegel and Alexandre Leblanc helped me to for the last patch because my
knowledge in python are basics.

PS: Those patches are also been sent to the maintainer (Peter Seebach in CC).

Regards,
Ga?l

Ga?l PORTAY (1):
  pseudo: fix build for python3 based distros

 .../0001-Fix-mixed-tab-space-indentation.patch     | 105 ++++++++++
 .../0002-Fix-missing-parentheses-at-print.patch    | 190 ++++++++++++++++++
 .../0003-Make-it-compatible-with-python3.patch     | 215 +++++++++++++++++++++
 3 files changed, 510 insertions(+)
 create mode 100644 package/pseudo/0001-Fix-mixed-tab-space-indentation.patch
 create mode 100644 package/pseudo/0002-Fix-missing-parentheses-at-print.patch
 create mode 100644 package/pseudo/0003-Make-it-compatible-with-python3.patch

-- 
2.10.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-05 13:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-05  3:55 [Buildroot] pseudo: fix build for python3 based distros Gaël PORTAY
2016-11-05  3:55 ` [Buildroot] [PATCH] " Gaël PORTAY
2016-11-05 12:39   ` Yann E. MORIN
2016-11-05 13:47     ` Gaël PORTAY
2016-11-05 12:43   ` Thomas Petazzoni
2016-11-05 13:43     ` Gaël PORTAY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox