Saturday, June 30, 2018

Re: UPDATE: math/py-numpy 1.9.3 -> 1.14.5

py3-numpy-1.14.5 (diff) tested against the math/py-pandas test-suite:
2 failed, 24979 passed, 1215 skipped, 79 xfailed, 26 xpassed, 26
warnings in 7332.25 seconds

The tests use numpy extensible, so I its a good indication saying that
this diff is OK.
The 2 failures are also given with the current version of py-numpy and
is not related to it.

Cheers.
Elias.

2018-06-27 0:02 GMT-03:00 Daniel Dickman <didickman@gmail.com>:
> Here's an update of numpy to 1.14.5. Compile tested with the ports below.
>
> Ok?
>
> biology/py-biopython
> devel/boost
> devel/ipython
> games/fretsonfire
> games/singularity
> geo/gdal
> geo/pdal
> geo/py-fiona
> geo/py-laspy
> geo/py-proj
> geo/py-shapely
> graphics/opencv
> graphics/piglit
> graphics/py-matplotlib
> graphics/py-sane
> math/lpsolve/python
> math/py-bottleneck
> math/py-gnuplot
> math/py-numexpr
> math/py-patsy
> math/py-scipy
> math/veusz
> net/websockify
> print/printrun
> textproc/py-numpydoc
> www/py-bokeh
> x11/py-gtk2
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/math/py-numpy/Makefile,v
> retrieving revision 1.49
> diff -u -p -u -r1.49 Makefile
> --- Makefile 15 Jun 2018 02:01:13 -0000 1.49
> +++ Makefile 27 Jun 2018 02:28:50 -0000
> @@ -4,9 +4,10 @@ BROKEN-alpha = numpy/linalg/umath_linalg
>
> COMMENT= fast array and numeric programming library for Python
>
> -MODPY_EGG_VERSION= 1.9.3
> +MODPY_EGG_VERSION= 1.14.5
> DISTNAME= numpy-${MODPY_EGG_VERSION}
> PKGNAME= py-${DISTNAME}
> +EXTRACT_SUFX= .zip
>
> CATEGORIES= math devel
>
> @@ -27,10 +28,10 @@ FLAVOR?=
>
> MODPY_PI = Yes
> MODPY_SETUPTOOLS= Yes
> -MODPY_SETUP= setupegg.py
> -MODPY_DISTUTILS_BUILD = build --build-base=${WRKBUILD} --fcompiler=gnu95
> +MODPY_DISTUTILS_BUILDARGS = --fcompiler=gnu95
>
> -TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR}
> +TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR} \
> + devel/py-tz${MODPY_FLAVOR}
>
> MODFORTRAN_COMPILER = gfortran
>
> @@ -42,7 +43,7 @@ pre-build:
> cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
>
> do-test: fake
> - ${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
> + cd ${WRKDIR} && ${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
> 'import numpy ; numpy.test()'
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/math/py-numpy/distinfo,v
> retrieving revision 1.11
> diff -u -p -u -r1.11 distinfo
> --- distinfo 15 Jun 2018 02:01:13 -0000 1.11
> +++ distinfo 27 Jun 2018 02:28:50 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (numpy-1.9.3.tar.gz) = w7dNO52kzrEfZqvSHhF9qM9YS2Og770BqbfpG2k/u9Y=
> -SIZE (numpy-1.9.3.tar.gz) = 3984430
> +SHA256 (numpy-1.14.5.zip) = pKQzs6Jk28mqnHwkHofANYpQPqY5T4c33xaDx8mhAqw=
> +SIZE (numpy-1.14.5.zip) = 4904624
> Index: patches/patch-numpy_core_include_numpy_npy_common_h
> ===================================================================
> RCS file: /cvs/ports/math/py-numpy/patches/patch-numpy_core_include_numpy_npy_common_h,v
> retrieving revision 1.5
> diff -u -p -u -r1.5 patch-numpy_core_include_numpy_npy_common_h
> --- patches/patch-numpy_core_include_numpy_npy_common_h 18 Mar 2016 13:26:10 -0000 1.5
> +++ patches/patch-numpy_core_include_numpy_npy_common_h 27 Jun 2018 02:28:50 -0000
> @@ -12,17 +12,18 @@ support is present. since we don't have
> it's own. however, on alpha, powerpc, it declared functions with
> types that conflict with C99 (double for *l), therefore failed.
>
> ---- numpy/core/include/numpy/npy_common.h.orig Sun Nov 16 17:31:16 2014
> -+++ numpy/core/include/numpy/npy_common.h Sun Mar 6 15:22:08 2016
> -@@ -7,6 +7,7 @@
> - #include <npy_config.h>
> +Index: numpy/core/include/numpy/npy_common.h
> +--- numpy/core/include/numpy/npy_common.h.orig
> ++++ numpy/core/include/numpy/npy_common.h
> +@@ -20,6 +20,7 @@
> +

No comments:

Post a Comment