View | Details | Raw Unified | Return to bug 103830
Collapse All | Expand All

(-)py-scipy/Makefile (-13 / +12 lines)
Lines 7-29 Link Here
7
#
7
#
8
8
9
PORTNAME=	scipy
9
PORTNAME=	scipy
10
PORTVERSION=	0.3.2
10
PORTVERSION=	0.5.1
11
PORTREVISION=	1
12
CATEGORIES=	science python
11
CATEGORIES=	science python
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	scipy
13
MASTER_SITE_SUBDIR=	scipy
15
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
14
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
16
DISTNAME=	SciPy_complete-${PORTVERSION}
17
15
18
MAINTAINER=	db@db.net
16
MAINTAINER=	db@db.net
19
COMMENT=	Scientific tools for Python
17
COMMENT=	Scientific tools for Python
20
18
21
BUILD_DEPENDS=	${PYNUMERIC} \
19
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
22
		${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \
20
		${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \
23
		f2py:${PORTSDIR}/lang/f2py \
21
		f2py:${PORTSDIR}/lang/f2py
24
		${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24
25
LIB_DEPENDS=	fftw.2:${PORTSDIR}/math/fftw \
22
LIB_DEPENDS=	fftw.2:${PORTSDIR}/math/fftw \
26
		atlas.1:${PORTSDIR}/math/atlas
23
		atlas.1:${PORTSDIR}/math/atlas
24
.if exists(${PYTHON_SITELIBDIR}/wx.pth)
25
BUILD_DEPENDS+=	${PYTHON_SITELIBDIR}/wx.pth:${PORTSDIR}/x11-toolkits/py-wxPython26
26
.elif exists(${PYTHON_SITELIBDIR}/wx/__init__.py)
27
BUILD_DEPENDS+=	${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24
28
.else
29
BUILD_DEPENDS+=	${PYTHON_SITELIBDIR}/wx.pth:${PORTSDIR}/x11-toolkits/py-wxPython26
30
.endif
27
31
28
USE_PYTHON=	2.3+
32
USE_PYTHON=	2.3+
29
USE_PYDISTUTILS=	yes
33
USE_PYDISTUTILS=	yes
Lines 39-52 Link Here
39
.endif
43
.endif
40
44
41
post-install:
45
post-install:
42
	@${RMDIR} ${PYTHON_SITELIBDIR}/weave/swig # empty
46
	@${FIND} ${PYTHON_SITELIBDIR}/scipy ! -type d | \
43
.for dir in ${PYTHON_SITELIBDIR}/gui_thread ${PYTHON_SITELIBDIR}/scipy \
44
		${PYTHON_SITELIBDIR}/scipy_base ${PYTHON_SITELIBDIR}/scipy_distutils \
45
		${PYTHON_SITELIBDIR}/scipy_test ${PYTHON_SITELIBDIR}/weave
46
	@${FIND} ${dir} ! -type d | \
47
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
47
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
48
	@${FIND} ${dir} -type d | ${SORT} -r | \
48
	@${FIND} ${PYTHON_SITELIBDIR}/scipy -type d | ${SORT} -r | \
49
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
49
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
50
.endfor
51
50
52
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)py-scipy/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (SciPy_complete-0.3.2.tar.gz) = 5ae2280ab2c4c653cb0ff8479e81284a
1
MD5 (scipy-0.5.1.tar.gz) = 48442a427f0556ad2ad1721dd62e401c
2
SHA256 (SciPy_complete-0.3.2.tar.gz) = bd1addc8d41d79f8866e7960cea391cfbfc3c6b36d5af205864d7f30a2fb98e8
2
SHA256 (scipy-0.5.1.tar.gz) = 312e7562aa04923c02c346866e06fd44e4fcf872c518f64c0f9dabece5ff860a
3
SIZE (SciPy_complete-0.3.2.tar.gz) = 3368595
3
SIZE (scipy-0.5.1.tar.gz) = 4141008
(-)py-scipy/files/patch-scipy__core_scipy__base_fastumathmodule.c (-15 lines)
Lines 1-15 Link Here
1
2
$FreeBSD: ports/science/py-scipy/files/patch-scipy__core_scipy__base_fastumathmodule.c,v 1.1 2005/05/18 15:44:50 vs Exp $
3
4
--- scipy_core/scipy_base/fastumathmodule.c.orig
5
+++ scipy_core/scipy_base/fastumathmodule.c
6
@@ -1,8 +1,8 @@
7
+#include <math.h>
8
 #include "Python.h"
9
 #include "Numeric/arrayobject.h"
10
 #include "Numeric/ufuncobject.h"
11
 #include "abstract.h"
12
-#include <math.h>
13
 #include "mconf_lite.h"
14
 
15
 /* Fast umath module whose functions do not check for range and domain
(-)py-scipy/files/patch-scipy__core_scipy__distutils_system__info.py (-16 lines)
Lines 1-16 Link Here
1
2
$FreeBSD: ports/science/py-scipy/files/patch-scipy__core_scipy__distutils_system__info.py,v 1.1 2005/05/18 15:44:50 vs Exp $
3
4
--- scipy_core/scipy_distutils/system_info.py.orig
5
+++ scipy_core/scipy_distutils/system_info.py
6
@@ -548,8 +548,8 @@
7
         lib_dirs = self.get_lib_dirs()
8
         info = {}
9
         atlas_libs = self.get_libs('atlas_libs',
10
-                                   self._lib_names + ['atlas'])
11
-        lapack_libs = self.get_libs('lapack_libs',['lapack'])
12
+                                   self._lib_names + ['atlas_r'])
13
+        lapack_libs = self.get_libs('lapack_libs',['alapack_r'])
14
         atlas = None
15
         lapack = None
16
         atlas_1 = None

Return to bug 103830