FS#37761 - [python2-numpy] sed after installation causes .pyc load failure
Attached to Project:
Arch Linux
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 08:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 19 November 2013, 10:55 GMT
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 08:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 19 November 2013, 10:55 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-numpy 1.7.1-3 Steps to reproduce: $ python2 -v -c 'import numpy' 2>&1 | grep bad # /usr/lib/python2.7/site-packages/numpy/__init__.pyc has bad mtime ... |
This task depends upon
fix_mtime.patch