svn commit: r378197 - head/science/py-scimath

Olivier Duchateau olivierd at freebsd.org
Sat Jan 31 10:17:04 UTC 2015


On Sat, 31 Jan 2015 10:00:45 +0000 (UTC)
Antoine Brodin <antoine at 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 at freebsd.org>


More information about the svn-ports-all mailing list