Ticket #24640: 0001-python-py-numpy-update-to-1.4.1.patch

File 0001-python-py-numpy-update-to-1.4.1.patch, 2.6 KB (added by skymoo (Adam Mercer), 15 years ago)

py-numpy 1.4.1 update

  • python/py-numpy/Portfile

    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 
    55PortGroup           python24 1.0
    66
    77name                py-numpy
    8 version             1.3.0
     8version             1.4.1
    99categories          python
    1010platforms           darwin
    1111maintainers         dh openmaintainer
    homepage http://numpy.scipy.org/ 
    1616master_sites        sourceforge:numpy
    1717distname            numpy-${version}
    1818
    19 checksums           md5 3f7773ff0971a5ebb8591536d8ec7bd6 \
    20                     sha1 c04998a1fbf7d990c9a2b99a7b62486012c570ac \
    21                     rmd160 a75155d2014204e16c59857b92356353505c39b9
     19checksums           md5 5c7b5349dc3161763f7f366ceb96516b \
     20                    sha1 ec6078aa09acbcca3d90f9f36353fc83e7e1daa0 \
     21                    rmd160 a0bbebd1138ffc93517095e3c06459cd9744a9d6
    2222
    23 patchfiles          patch-g95_link.diff \
    24                     patch-f2py_setup.py.diff
     23patchfiles          patch-f2py_setup.py.diff
    2524
    2625depends_lib-append  port:fftw-3 \
    2726                    port:py-nose
    2827
    2928post-patch {
    30   reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py
    3129  reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py
    3230}
    3331
  • deleted file python/py-numpy/files/patch-g95_link.diff

    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          }