Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2015 11:18:58 +0000
From:      Olivier Duchateau <olivierd@freebsd.org>
To:        Antoine Brodin <antoine@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r378197 - head/science/py-scimath
Message-ID:  <20150131111858.3bc140fbf86098fe50a148a5@freebsd.org>
In-Reply-To: <201501311000.t0VA0jHe064347@svn.freebsd.org>
References:  <201501311000.t0VA0jHe064347@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Jan 2015 10:00:45 +0000 (UTC)
Antoine Brodin <antoine@FreeBSD.org> wrote:

> Author: antoine
> Date: Sat Jan 31 10:00:44 2015
> New Revision: 378197
> URL: https://svnweb.freebsd.org/changeset/ports/378197
> QAT: https://qat.redports.org/buildarchive/r378197/
> 
> Log:
>   Mark BROKEN: Fails to build
>   
>   ===>  Configuring for py27-scimath-4.1.2_3
>   Traceback (most recent call last):
>     File "<string>", line 1, in <module>
>     File "setup.py", line 9, in <module>
>       import numpy.distutils.core
>   ImportError: No module named numpy.distutils.core
>   
>   Reported by:	pkg-fallout
> 
> Modified:
>   head/science/py-scimath/Makefile
> 
> Modified: head/science/py-scimath/Makefile
> ==============================================================================
> --- head/science/py-scimath/Makefile	Sat Jan 31 09:54:15 2015	(r378196)
> +++ head/science/py-scimath/Makefile	Sat Jan 31 10:00:44 2015	(r378197)
> @@ -14,6 +14,8 @@ COMMENT=	Scientific and Mathematical cal
>  LICENSE=	BSD3CLAUSE LGPL3
>  LICENSE_COMB=	dual
>  
> +BROKEN=		Fails to build
> +
>  BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}traits>=3.6.0:${PORTSDIR}/devel/py-traits
>  RUN_DEPENDS:=	${BUILD_DEPENDS}
>  
> 

This port is only compatible with Python2, because execfile () function is only available in Python2, skipped in Python3 (we can use exec (), but build fails for interpolate/_interpolate.cpp file (Py_InitModule3 function is not present in Python3).

I'm working on this port, in order to update it, unfortunately no time to send PR to maintainer.

-- 
Olivier Duchateau <olivierd@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150131111858.3bc140fbf86098fe50a148a5>