Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#10284 - python-pyx: siteconfig.py refers to "/build/pkg/*", which breaks the package
Attached to Project:
Community Packages
Opened by Jan Spakula (bender02) - Saturday, 26 April 2008, 00:31 GMT
Last edited by Douglas Soares de Andrade (dsa) - Sunday, 05 October 2008, 10:56 GMT
Opened by Jan Spakula (bender02) - Saturday, 26 April 2008, 00:31 GMT
Last edited by Douglas Soares de Andrade (dsa) - Sunday, 05 October 2008, 10:56 GMT
|
DetailsDescription:
The file /usr/lib/python2.5/site-packages/pyx/siteconfig.py has /build/pkg prefix in all its paths, which breaks this package. Manually removing /build/pkg prefix from siteconfig.py of course fixes the problem. Additional info: * package version(s): 0.10-1 Steps to reproduce: 1. install package 2. try to run any python script depending on it |
This task depends upon
Closed by Douglas Soares de Andrade (dsa)
Sunday, 05 October 2008, 10:56 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks to Stefan. Fixed the problem with his build function.
Sunday, 05 October 2008, 10:56 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks to Stefan. Fixed the problem with his build function.
build() {
cd $startdir/src/PyX-$pkgver
python setup.py install --root=$startdir/pkg
sed -i "s+$pkgdir++" \
$pkgdir/usr/lib/python2.5/site-packages/pyx/siteconfig.py
rm $pkgdir/usr/lib/python2.5/site-packages/pyx/siteconfig.pyc
}