From b8e4911224d18bfc78b82444398f3273ae5015bf Mon Sep 17 00:00:00 2001
From: Adam Mercer <ram+local@macports.org>
Date: Sun, 25 Apr 2010 09:47:10 -0500
Subject: [PATCH] python/py-numpy: update to 1.4.1
---
python/py-numpy/Portfile | 12 +++++-------
python/py-numpy/files/patch-g95_link.diff | 11 -----------
2 files changed, 5 insertions(+), 18 deletions(-)
delete mode 100644 python/py-numpy/files/patch-g95_link.diff
diff --git a/python/py-numpy/Portfile b/python/py-numpy/Portfile
index 9ad8508..d596204 100644
a
|
b
|
PortSystem 1.0 |
5 | 5 | PortGroup python24 1.0 |
6 | 6 | |
7 | 7 | name py-numpy |
8 | | version 1.3.0 |
| 8 | version 1.4.1 |
9 | 9 | categories python |
10 | 10 | platforms darwin |
11 | 11 | maintainers dh openmaintainer |
… |
… |
homepage http://numpy.scipy.org/ |
16 | 16 | master_sites sourceforge:numpy |
17 | 17 | distname numpy-${version} |
18 | 18 | |
19 | | checksums md5 3f7773ff0971a5ebb8591536d8ec7bd6 \ |
20 | | sha1 c04998a1fbf7d990c9a2b99a7b62486012c570ac \ |
21 | | rmd160 a75155d2014204e16c59857b92356353505c39b9 |
| 19 | checksums md5 5c7b5349dc3161763f7f366ceb96516b \ |
| 20 | sha1 ec6078aa09acbcca3d90f9f36353fc83e7e1daa0 \ |
| 21 | rmd160 a0bbebd1138ffc93517095e3c06459cd9744a9d6 |
22 | 22 | |
23 | | patchfiles patch-g95_link.diff \ |
24 | | patch-f2py_setup.py.diff |
| 23 | patchfiles patch-f2py_setup.py.diff |
25 | 24 | |
26 | 25 | depends_lib-append port:fftw-3 \ |
27 | 26 | port:py-nose |
28 | 27 | |
29 | 28 | post-patch { |
30 | | reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py |
31 | 29 | reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py |
32 | 30 | } |
33 | 31 | |
diff --git a/python/py-numpy/files/patch-g95_link.diff b/python/py-numpy/files/patch-g95_link.diff
deleted file mode 100644
index f605066..0000000
+
|
-
|
|
1 | | --- numpy/distutils/fcompiler/g95.py 2007-11-07 17:05:14.000000000 -0500 |
2 | | +++ numpy/distutils/fcompiler/g95.py 2008-01-30 21:26:47.000000000 -0500 |
3 | | @@ -21,7 +21,7 @@ |
4 | | 'compiler_f77' : ["g95", "-ffixed-form"], |
5 | | 'compiler_fix' : ["g95", "-ffixed-form"], |
6 | | 'compiler_f90' : ["g95"], |
7 | | - 'linker_so' : ["<F90>","-shared"], |
8 | | + 'linker_so' : ["<F90>","-dynamiclib -L@@MPORTS_PREFIX@@/Library/Frameworks/Python.framework/Versions/2.4/lib -lpython2.4"], |
9 | | 'archiver' : ["ar", "-cr"], |
10 | | 'ranlib' : ["ranlib"] |
11 | | } |