Bug#672552: kdelibs5-dev: PythonMacros.cmake breaks with Python 3
Usertags: origin-ubuntu quantal
PythonMacros.cmake assumes that byte-compiling any .py file will result
in a .pyc file in the current directory. This breaks with Python 3,
which creates it in a __pycache__ subdirectory instead.
Gentoo carries a patch to allow suppressing this with an environment
This would make a degree of sense for Debian as well since dh_python2
removes .pyc files anyway, so it's just a waste of time to byte-compile
them during package builds. However, it would be nice if this macro
were smart enough to handle __pycache__ in the Python 3 case as well.
Colin Watson [email@example.com]