FS#22291 - [crda] needs to use python2 when compiling
Attached to Project:
Arch Linux
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 14:59 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 16 January 2011, 16:08 GMT
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 14:59 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 16 January 2011, 16:08 GMT
|
Details
Description:
Following the python 2 to 3 transition the key2pub.py script in the crda 1.1.1 package needs to use python2 instead of python. Otherwise the build will fail. The attached patch fixes the problem. Additional info: I'm using the 1.1.1-1 version of the PKGBUILD. Steps to reproduce: Compile crda with the new python package installed. |
This task depends upon
Closed by Thomas Bächler (brain0)
Sunday, 16 January 2011, 16:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk.
Sunday, 16 January 2011, 16:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk.
sed -i 's/env python/env python2/' utils/key2pub.py
The patch, though, has the added advantage of not breaking the script if for some strange reason it should contain a 'env python' substring some other place than the hashbang header.