[kde-freebsd] [SVN Commit] area51/PYQT/devel/py-sip

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Dec 7 05:00:24 UTC 2015


SVN commit 11611 by rakuco:

py-sip: Use Python's compileall module instead of py_compile.

This is similar to area51 r10115: compileall allows us to specify a
directory instead of all modules we need to compile, and its -d argument
allows us to specify a different directory for it to add to the compiled
files's bytecode.

The latter is a requirement for properly supporting USE_PYTHON=concurrent,
added in r11442. With py_compile, `make stage-qa' fails with Python 3:

Error: 'lib/python3.4/site-packages/__pycache__/sipconfig.cpython-34.pyc' is referring to $FOO/devel/py-sip/work/stage
Error: 'lib/python3.4/site-packages/__pycache__/sipconfig.cpython-34.pyo' is referring to $FOO/devel/py-sip/work/stage
Error: 'lib/python3.4/site-packages/__pycache__/sipdistutils.cpython-34.pyc' is referring to $FOO/devel/py-sip/work/stage
Error: 'lib/python3.4/site-packages/__pycache__/sipdistutils.cpython-34.pyo' is referring to $FOO/devel/py-sip/work/stage



 M  +6 -6      Makefile  
 M  +0 -1      pkg-plist  




More information about the kde-freebsd mailing list