[112767] trunk/dports/python/py-numpy

Jeremy Huddleston Sequoia jeremyhu at macports.org
Sun Nov 3 10:21:30 PST 2013


This change didn't warrant a revbump, and doing so has actually made things worse by forcing a rebuild with a known build failure regression (https://trac.macports.org/ticket/34562) for +universal.  The +universal build failure should've been fixed before a revbump.  Now, many more users who previously had a working +universal py-numpy will be hitting this build failure for no reason.

--Jeremy

On Oct 31, 2013, at 3:24, stromnov at macports.org wrote:

> Revision
> 112767
> Author
> stromnov at macports.org
> Date
> 2013-10-31 03:24:38 -0700 (Thu, 31 Oct 2013)
> Log Message
> 
> py-numpy: fix fortran compiler issue (#40824)
> Modified Paths
> 
> 	• trunk/dports/python/py-numpy/Portfile
> Added Paths
> 
> 	• trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler___init__.py.diff
> Diff
> 
> Modified: trunk/dports/python/py-numpy/Portfile (112766 => 112767)
> 
> --- trunk/dports/python/py-numpy/Portfile	2013-10-31 10:24:15 UTC (rev 112766)
> +++ trunk/dports/python/py-numpy/Portfile	2013-10-31 10:24:38 UTC (rev 112767)
> 
> @@ -7,7 +7,7 @@
> 
>  
> 
>  github.setup            numpy numpy 1.7.1 v
> 
>  name                    py-numpy
> 
> -revision                0
> 
> +revision                1
> 
>  dist_subdir             ${name}/${version}_1
> 
>  
> 
>  categories-append       math
> 
> @@ -24,6 +24,7 @@
> 
>  
> 
>  if {$subport != $name} {
> 
>      patchfiles              patch-f2py_setup.py.diff \
> 
> +                            patch-numpy_distutils_fcompiler___init__.py.diff \
> 
>                              patch-fcompiler_g95.diff
> 
>  
> 
>      depends_lib-append      port:fftw-3 \
> 
> Added: trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler___init__.py.diff (0 => 112767)
> 
> --- trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler___init__.py.diff	                        (rev 0)
> +++ trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler___init__.py.diff	2013-10-31 10:24:38 UTC (rev 112767)
> 
> @@ -0,0 +1,30 @@
> 
> +--- numpy/distutils/fcompiler/__init__.py.orig	2013-10-31 13:24:12.000000000 +0400
> ++++ numpy/distutils/fcompiler/__init__.py	2013-10-31 13:45:03.000000000 +0400
> +@@ -815,7 +815,7 @@
> +     return compiler_type
> + 
> + # Flag to avoid rechecking for Fortran compiler every time
> +-failed_fcompiler = False
> ++failed_fcompilers = []
> + 
> + def new_fcompiler(plat=None,
> +                   compiler=None,
> +@@ -828,7 +828,8 @@
> +     platform/compiler combination.
> +     """
> +     global failed_fcompiler
> +-    if failed_fcompiler:
> ++    fcompiler_key = (plat, compiler)
> ++    if fcompiler_key in failed_fcompilers:
> +         return None
> + 
> +     load_all_fcompiler_classes()
> +@@ -848,7 +849,7 @@
> +             msg = msg + " Supported compilers are: %s)" \
> +                   % (','.join(fcompiler_class.keys()))
> +         log.warn(msg)
> +-        failed_fcompiler = True
> ++        failed_fcompilers.append(fcompiler_key)
> +         return None
> + 
> +     compiler = klass(verbose=verbose, dry_run=dry_run, force=force)
> 
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-changes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20131103/17c1728a/attachment-0001.p7s>


More information about the macports-dev mailing list