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  


_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to