I needed a CVS version of scipy (waiting for a fix that makes scipy.signal.fftconvolve usable for me) so I decided to quickly hack the official builds. If you are looking for the files for filesdir, just copy those from the official tree. I just commented out the patches which failed (parisc.patch, alpha.patch, arm-sh.patch. I have no way to test them anyway). Just wanted to share the CVS ebuild with the community. Cheers Bjoern Olausson Reproducible: Always numpy cvs installs fine, but scipy breaks with: /usr/bin/gfortran -Wall -Wl,-O1 -shared build-2.6/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o build-2.6/temp.linux-x86_64-2.6/scipy/special/amos_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/specfun_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/toms_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/cdf_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/ufunc_extras.o -L/var/tmp/portage/dev-python/numpy-9999/image/usr/lib64/python2.6/site-packages/numpy/core/lib -L/usr/lib64 -Lbuild-2.6/temp.linux-x86_64-2.6 -lsc_amos -lsc_toms -lsc_c_misc -lsc_cephes -lsc_mach -lsc_cdf -lsc_specfun -lnpymath -lm -lpython2.6 -lgfortran -o build-2.6/lib.linux-x86_64-2.6/scipy/special/_cephes.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnpymath collect2: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnpymath collect2: ld returned 1 exit status error: Command "/usr/bin/gfortran -Wall -Wl,-O1 -shared build-2.6/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o build-2.6/temp.linux-x86_64-2.6/scipy/special/amos_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/specfun_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/toms_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/cdf_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/ufunc_extras.o -L/var/tmp/portage/dev-python/numpy-9999/image/usr/lib64/python2.6/site-packages/numpy/core/lib -L/usr/lib64 -Lbuild-2.6/temp.linux-x86_64-2.6 -lsc_amos -lsc_toms -lsc_c_misc -lsc_cephes -lsc_mach -lsc_cdf -lsc_specfun -lnpymath -lm -lpython2.6 -lgfortran -o build-2.6/lib.linux-x86_64-2.6/scipy/special/_cephes.so" failed with exit status 1 http://projects.scipy.org/numpy/ticket/1194 Apparently it should be fixed in SVN but... I have to take a closer look how the Gentoo ebuilds handles the install.
Created attachment 211610 [details] scipy-9999.ebuild
Created attachment 211611 [details] numpy-9999.ebuild
Those ebuilds worked just fine. The only exception is for numpy, I had to change: epatch "${FILESDIR}"/${P}-fenv-freebsd.patch # bug 279487 to: epatch "${FILESDIR}"/${PN}-1.3.0-fenv-freebsd.patch # bug 279487 I had to use those ebuilds to test a patch for scipy.optimize.newton. A friend of mine found out that this function is twice slower than his implementation because of a function being called two times instead of one (and the first value is never used). He will post a bug report upstreams.
Created attachment 227569 [details] scipy-9999.ebuild (based on scipy-0.7.1.ebuild) Just an update.
Created attachment 227571 [details] numpy-9999.ebuild (based on numpy-1.4.0.ebuild) Just an update.
Since no developer showed interest in maintaining those for ~4 years, and the bug hasn't seen update for ~3.5 year, let's just close it. Feel free to reopen with fresh ebuilds if you still need it.