aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-scipy03
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-05-18 23:44:50 +0800
committervs <vs@FreeBSD.org>2005-05-18 23:44:50 +0800
commita448e3445ed67600e309e3027c6147c3b49fe63c (patch)
tree7f46c0ad788f4144480e4787774790cc93e71a1a /science/py-scipy03
parent872608772c04c8c045b41b96c818f99537bb261b (diff)
downloadfreebsd-ports-gnome-a448e3445ed67600e309e3027c6147c3b49fe63c.tar.gz
freebsd-ports-gnome-a448e3445ed67600e309e3027c6147c3b49fe63c.tar.zst
freebsd-ports-gnome-a448e3445ed67600e309e3027c6147c3b49fe63c.zip
- Update to 0.3.2
- Fix missing symbols/libraries at runtime PRs: ports/74878 (TAOKA Fumiyoshi) ports/80624 (Gregory Crosswhite)
Diffstat (limited to 'science/py-scipy03')
-rw-r--r--science/py-scipy03/Makefile3
-rw-r--r--science/py-scipy03/distinfo4
-rw-r--r--science/py-scipy03/files/patch-scipy__core_scipy__base_fastumathmodule.c15
-rw-r--r--science/py-scipy03/files/patch-scipy__core_scipy__distutils_system__info.py16
4 files changed, 35 insertions, 3 deletions
diff --git a/science/py-scipy03/Makefile b/science/py-scipy03/Makefile
index 0b8eaca3abdc..c77bdece7383 100644
--- a/science/py-scipy03/Makefile
+++ b/science/py-scipy03/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= scipy
-PORTVERSION= 0.3
+PORTVERSION= 0.3.2
CATEGORIES= science python
MASTER_SITES= http://www.scipy.org/download/scipy/src/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -34,6 +34,7 @@ post-patch:
.include <bsd.port.pre.mk>
post-install:
+ @${RMDIR} ${PYTHON_SITELIBDIR}/weave/swig # empty
.for dir in ${PYTHON_SITELIBDIR}/gui_thread ${PYTHON_SITELIBDIR}/scipy \
${PYTHON_SITELIBDIR}/scipy_base ${PYTHON_SITELIBDIR}/scipy_distutils \
${PYTHON_SITELIBDIR}/scipy_test ${PYTHON_SITELIBDIR}/weave
diff --git a/science/py-scipy03/distinfo b/science/py-scipy03/distinfo
index 7ceab39d6672..1fed1df485d5 100644
--- a/science/py-scipy03/distinfo
+++ b/science/py-scipy03/distinfo
@@ -1,2 +1,2 @@
-MD5 (SciPy_complete-0.3.tar.gz) = ae6578810bce6d3841919b691e607812
-SIZE (SciPy_complete-0.3.tar.gz) = 3510718
+MD5 (SciPy_complete-0.3.2.tar.gz) = 5ae2280ab2c4c653cb0ff8479e81284a
+SIZE (SciPy_complete-0.3.2.tar.gz) = 3368595
diff --git a/science/py-scipy03/files/patch-scipy__core_scipy__base_fastumathmodule.c b/science/py-scipy03/files/patch-scipy__core_scipy__base_fastumathmodule.c
new file mode 100644
index 000000000000..3d3320dcbb4a
--- /dev/null
+++ b/science/py-scipy03/files/patch-scipy__core_scipy__base_fastumathmodule.c
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- scipy_core/scipy_base/fastumathmodule.c.orig
++++ scipy_core/scipy_base/fastumathmodule.c
+@@ -1,8 +1,8 @@
++#include <math.h>
+ #include "Python.h"
+ #include "Numeric/arrayobject.h"
+ #include "Numeric/ufuncobject.h"
+ #include "abstract.h"
+-#include <math.h>
+ #include "mconf_lite.h"
+
+ /* Fast umath module whose functions do not check for range and domain
diff --git a/science/py-scipy03/files/patch-scipy__core_scipy__distutils_system__info.py b/science/py-scipy03/files/patch-scipy__core_scipy__distutils_system__info.py
new file mode 100644
index 000000000000..5b960f4c52c4
--- /dev/null
+++ b/science/py-scipy03/files/patch-scipy__core_scipy__distutils_system__info.py
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- scipy_core/scipy_distutils/system_info.py.orig
++++ scipy_core/scipy_distutils/system_info.py
+@@ -548,8 +548,8 @@
+ lib_dirs = self.get_lib_dirs()
+ info = {}
+ atlas_libs = self.get_libs('atlas_libs',
+- self._lib_names + ['atlas'])
+- lapack_libs = self.get_libs('lapack_libs',['lapack'])
++ self._lib_names + ['atlas_r'])
++ lapack_libs = self.get_libs('lapack_libs',['alapack_r'])
+ atlas = None
+ lapack = None
+ atlas_1 = None