Ticket #24668: py26-numpy_g95.patch

File py26-numpy_g95.patch, 2.3 KB (added by skymoo (Adam Mercer), 15 years ago)
  • python/py26-numpy/Portfile

    From 63fa5f4527d56d665bf31d2a0833adedca1df9aa Mon Sep 17 00:00:00 2001
    From: Adam Mercer <ram+local@macports.org>
    Date: Mon, 26 Apr 2010 19:56:48 -0500
    Subject: [PATCH] python/py26-numpy: g95 is not a supported compiler (closes #24668)
    
    ---
     python/py26-numpy/Portfile                       |    4 +++-
     python/py26-numpy/files/patch-fcompiler_g95.diff |   11 +++++++++++
     2 files changed, 14 insertions(+), 1 deletions(-)
     create mode 100644 python/py26-numpy/files/patch-fcompiler_g95.diff
    
    diff --git a/python/py26-numpy/Portfile b/python/py26-numpy/Portfile
    index 930f12d..c519326 100644
    a b PortGroup python26 1.0 
    77name                    py26-numpy
    88epoch                   20100319
    99version                 1.4.1
     10revision                1
    1011categories              python
    1112platforms               darwin
    1213maintainers             mcalhoun openmaintainer
    checksums md5 5c7b5349dc3161763f7f366ceb96516b \ 
    2223                        rmd160 a0bbebd1138ffc93517095e3c06459cd9744a9d6
    2324
    2425patchfiles              patch-f2py_setup.py.diff \
    25                         patch-system_info.py.diff
     26                        patch-system_info.py.diff \
     27                        patch-fcompiler_g95.diff
    2628
    2729depends_lib-append      port:fftw-3 \
    2830                        port:py26-nose \
  • new file python/py26-numpy/files/patch-fcompiler_g95.diff

    diff --git a/python/py26-numpy/files/patch-fcompiler_g95.diff b/python/py26-numpy/files/patch-fcompiler_g95.diff
    new file mode 100644
    index 0000000..eb87e31
    - +  
     1--- numpy/distutils/fcompiler/__init__.py       2010-04-18 05:06:17.000000000 -0500
     2+++ numpy/distutils/fcompiler/__init__.py       2010-04-26 19:48:16.000000000 -0500
     3@@ -685,7 +685,7 @@
     4     ('cygwin.*', ('gnu','intelv','absoft','compaqv','intelev','gnu95','g95')),
     5     ('linux.*', ('gnu','intel','lahey','pg','absoft','nag','vast','compaq',
     6                 'intele','intelem','gnu95','g95')),
     7-    ('darwin.*', ('nag', 'absoft', 'ibm', 'intel', 'gnu', 'gnu95', 'g95')),
     8+    ('darwin.*', ('nag', 'absoft', 'ibm', 'intel', 'gnu', 'gnu95')),
     9     ('sunos.*', ('sun','gnu','gnu95','g95')),
     10     ('irix.*', ('mips','gnu','gnu95',)),
     11     ('aix.*', ('ibm','gnu','gnu95',)),