FS#37764 - [python2-opengl] sed after installation causes .pyc load failure
Attached to Project:
Arch Linux
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 14:37 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 19 January 2014, 04:58 GMT
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 14:37 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 19 January 2014, 04:58 GMT
|
Details
Description:
PKGBUILD has sed -i lines after setup.py install, which makes corresponding .py files having greater mtime than .pyc/pyo, which causes those precompiled bytecode fail to load. I've attached a patch to move corresponding parts into prepare(). Additional info: * package version(s) python2-opengl 3.0.2-4 Steps to reproduce: $ python2 -v -c 'import OpenGL.Tk' 2>&1 | grep bad # /usr/lib/python2.7/site-packages/OpenGL/Tk/__init__.pyc has bad mtime |
This task depends upon
Closed by Felix Yan (felixonmars)
Sunday, 19 January 2014, 04:58 GMT
Reason for closing: Fixed
Additional comments about closing: 3.0.2-5
Sunday, 19 January 2014, 04:58 GMT
Reason for closing: Fixed
Additional comments about closing: 3.0.2-5
Comment by
Jelle van der Waa (jelly) - Friday,
15 November 2013, 09:31 GMT
Assigned to last packager
fix_mtime.patch