source: trunk/dports/python/py-numpy/Portfile @ 20382

Last change on this file since 20382 was 20382, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 20382 2006-11-02 21:38:50Z blair@macports.org $
2
3PortSystem 1.0
4PortGroup  python24 1.0
5
6name                    py-numpy
7version                 1.0b5
8revision                0
9categories              python
10platforms               darwin
11maintainers             erickt@macports.org
12description             The core utilities for the scientific library scipy for Python
13long_description        ${description}
14
15homepage                http://numeric.scipy.org/
16master_sites            sourceforge:numpy
17distname                numpy-${version}
18
19checksums               md5 2451bc1751a9bc1c22452cd71f846982 \
20                        sha1 001797105ba9924f50dc1115b5d5eaf1673e4d30 \
21                                                                                                rmd160 994baabc9df870dcdf5fbf62b1789e0d5fcb417b
22
23depends_lib-append      lib:fftw:fftw-3
24
25patchfiles              patch-gnu.py \
26                        patch-system_info.py
27
28build.pre_args config_fc --f90exec ${prefix}/bin/gfortran-dp-4.1 --fcompiler gnu95
29
30variant darwin powerpc {
31        depends_build-append port:gcc41
32
33        post-patch {
34                reinplace "s:MACPORTS_FORTRAN:gfortran-dp-4.1:g" ${worksrcpath}/numpy/distutils/fcompiler/gnu.py
35                reinplace "s:MACPORTS_PREFIX:${prefix}:g"        ${worksrcpath}/numpy/distutils/system_info.py
36                reinplace "s:MACPORTS_GCCPORT:gcc41:g"           ${worksrcpath}/numpy/distutils/system_info.py
37        }
38}
39
40variant darwin i386 {
41        depends_build-append port:gcc42
42
43        post-patch {
44                reinplace "s:MACPORTS_FORTRAN:gfortran-dp-4.2:g" ${worksrcpath}/numpy/distutils/fcompiler/gnu.py
45                reinplace "s:MACPORTS_PREFIX:${prefix}:g"        ${worksrcpath}/numpy/distutils/system_info.py
46                reinplace "s:MACPORTS_GCCPORT:gcc42:g"           ${worksrcpath}/numpy/distutils/system_info.py
47        }
48}
Note: See TracBrowser for help on using the repository browser.