automake-1.11.1: omit compilation of pyc files on install
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 15 Oct 2010 02:16:00 +0000 (02:16 +0000)
committerKhem Raj <raj.khem@gmail.com>
Thu, 21 Oct 2010 01:30:24 +0000 (18:30 -0700)
commitaa4585c5065e05c759f16e1e8623fc7f40640f1b
treeaf7123d7932e3093fda32b0700a020b1925ba02e
parent4292ef191122b77b7d1890b74ab988e8c1f58615
automake-1.11.1: omit compilation of pyc files on install

* On install, automake calls py-compile, which previously
  compiled python source code to pyc and pyo, which both
  got packaged.
* The python interpreter in OE contains patches to enable
  optimization (pyo) by default:
    04-default-is-optimized.patch
    99-ignore-optimization-flag.patch
* automake created pyc files by calling py_compile.compile()
  and adding the c suffix manually, resulting in identical
  byte code for both pyc and pyo files.
* 0001-py-compile-compile-only-optimized-byte-code.patch
  applies to automake 1.11 and automake master, but older
  versions require a slightly modified patch. However,
  older versions are only pinned by chinook-compat and
  nylon, so I left them untouched.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/automake/automake_1.11.1.bb
recipes/automake/files/0001-py-compile-compile-only-optimized-byte-code.patch [new file with mode: 0644]