Jean-Francois Caron wrote on 04/27/2011 06:04 AM:
Tired of waiting for a SciPy package to come out for SL6, I tried to
compile a version and was surprised to find success.

The Fedora 14 SRPM builds on SL6 after satisfying two dependencies from the same source, and replacing ufsparse-devel with suitesparse-devel in the BuildRequires. (A mystery to me why the FC14 spec does not already have that.)

http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/source/SRPMS/

Build order:
tbb-2.2-2.20090809.fc14.src.rpm
suitesparse-3.4.0-2.fc12.src.rpm
scipy-0.7.2-2.fc14.src.rpm

It imports in python with no errors.

P.S. Possibly of interest - python-matplotlib-1.0.0-2.fc14.src.rpm also builds with a minor kludge to the spec:

$ diff -u python-matplotlib.spec_orig python-matplotlib.spec
--- python-matplotlib.spec_orig 2010-07-22 22:38:51.000000000 -0400
+++ python-matplotlib.spec      2011-04-27 17:18:38.092666719 -0400
@@ -68,9 +68,9 @@
 %doc license/LICENSE_PAINT license/LICENSE_PIL
 %doc CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
 %doc PKG-INFO TODO examples
-%if 0%{?fedora} >= 9
+#%if 0%{?fedora} >= 9
 %{python_sitearch}/*egg-info
-%endif
+#%endif
 %{python_sitearch}/matplotlib/
 %{python_sitearch}/mpl_toolkits/
 %{python_sitearch}/pylab.py*

Perhaps EPEL could be persuaded to provide these.

Phil

Reply via email to