Community Packages

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!
Tasklist

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
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Stefan Husmann (stefanhusmann)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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.
Comment by Stefan Husmann (stefanhusmann) - Sunday, 07 September 2008, 17:07 GMT
Try the following build function in the PKGBUILD:

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
}

Loading...