Byte-compiled files in matplotlib-py-1.5.1-2
Derek Homeier <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <CF3B6E90-BA6D-40DF-B9CD-23E1F27061D6@astro.physik.uni-goettingen.de> |
Hi,
when building the updated matplotlib package in maintainer mode, after the tests are run I am
still getting the dreaded verification error for the .deb:
Error: Compiled python module points to fink build dir.
Uncommenting the cleanup line does not help, because after a few Fails and Errors in the
test suite the script exits immediately. I have not found any way to exit the python command
with the test with a nonzero return value that would not cause ‘bash -e’ to immediately exit,
so the only way to get rid of the compiled files and still save the test result might be to do
the cleanup within the python call itself:
%p/bin/python%type_raw[python] -B -c 'import matplotlib as m, os, sys; r=m.test(verbosity=1); os.system("find %b/build/lib.macosx-*-%type_raw[python] -name \*.py[oc] -exec rm {} \;"); sys.exit(1-r)'
lets the test phase finish with a warning for the current bunch of failures, and should pass if
the tests all succeed. Bit lengthy perhaps, but it sees to do the job.
Cheers,
Derek
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel