Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2016 03:34:55 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417692 - in head/math/py-numpy: . files
Message-ID:  <201606280334.u5S3YtD1058608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Tue Jun 28 03:34:54 2016
New Revision: 417692
URL: https://svnweb.freebsd.org/changeset/ports/417692

Log:
  - Update to 1.11.1
  - Adjust dependencies, 'numpy/core/multiarray.so' is also linked to
  math/openblas (reported by QA script)
  - Add patches in order to detect 'sys/endian.h' header

Added:
  head/math/py-numpy/files/patch-numpy_core_include_numpy_npy__endian.h   (contents, props changed)
  head/math/py-numpy/files/patch-numpy_core_setup.py   (contents, props changed)
Modified:
  head/math/py-numpy/Makefile
  head/math/py-numpy/distinfo

Modified: head/math/py-numpy/Makefile
==============================================================================
--- head/math/py-numpy/Makefile	Tue Jun 28 01:35:24 2016	(r417691)
+++ head/math/py-numpy/Makefile	Tue Jun 28 03:34:54 2016	(r417692)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	numpy
-PORTVERSION=	1.11.0
+PORTVERSION=	1.11.1
 PORTEPOCH=	1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP:source \
@@ -40,7 +40,8 @@ GCCLIBDIR_CMDS=	${FC} -print-file-name=l
 
 ATLAS_USES=	blaslapack:atlas
 NETLIB_USES=	blaslapack:netlib
-NETLIB_LIB_DEPENDS=	libcblas.so:math/cblas
+NETLIB_LIB_DEPENDS=	libcblas.so:math/cblas \
+	libopenblas.so:math/openblas
 OPENBLAS_USES=	blaslapack:openblas
 SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse
 TESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose

Modified: head/math/py-numpy/distinfo
==============================================================================
--- head/math/py-numpy/distinfo	Tue Jun 28 01:35:24 2016	(r417691)
+++ head/math/py-numpy/distinfo	Tue Jun 28 03:34:54 2016	(r417692)
@@ -1,6 +1,7 @@
-SHA256 (numpy-1.11.0.tar.gz) = a1d1268d200816bfb9727a7a27b78d8e37ecec2e4d5ebd33eb64e2789e0db43e
-SIZE (numpy-1.11.0.tar.gz) = 4169494
-SHA256 (reference.pdf) = 8e0e95e2b73d08a6a1b70f941e083189aceba93dd6b7a509df386dda17defbc0
-SIZE (reference.pdf) = 2488720
-SHA256 (userguide.pdf) = 72622fd49c47e74135c66d793ad69484cf5c8a74f488d524deab7a6fc0d3c3b3
-SIZE (userguide.pdf) = 528010
+TIMESTAMP = 1467053000
+SHA256 (numpy-1.11.1.tar.gz) = dc4082c43979cc856a2bf352a8297ea109ccb3244d783ae067eb2ee5b0d577cd
+SIZE (numpy-1.11.1.tar.gz) = 4171162
+SHA256 (reference.pdf) = 4bb6c7b199dfdf1ea9678b5d27191e41ae60620c1094848a34d49261cefea9db
+SIZE (reference.pdf) = 4488536
+SHA256 (userguide.pdf) = 7375c95f0e88bc2fda1d376d8de2ab657d5afce4de08757624743498090c4037
+SIZE (userguide.pdf) = 524993

Added: head/math/py-numpy/files/patch-numpy_core_include_numpy_npy__endian.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-numpy/files/patch-numpy_core_include_numpy_npy__endian.h	Tue Jun 28 03:34:54 2016	(r417692)
@@ -0,0 +1,11 @@
+--- numpy/core/include/numpy/npy_endian.h.orig	2016-06-18 16:15:37 UTC
++++ numpy/core/include/numpy/npy_endian.h
+@@ -8,7 +8,7 @@
+ 
+ #ifdef NPY_HAVE_ENDIAN_H
+     /* Use endian.h if available */
+-    #include <endian.h>
++    #include <sys/endian.h>
+ 
+     #if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && defined(LITTLE_ENDIAN)
+         #define NPY_BYTE_ORDER    BYTE_ORDER

Added: head/math/py-numpy/files/patch-numpy_core_setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-numpy/files/patch-numpy_core_setup.py	Tue Jun 28 03:34:54 2016	(r417692)
@@ -0,0 +1,11 @@
+--- numpy/core/setup.py.orig	2016-06-25 23:59:40 UTC
++++ numpy/core/setup.py
+@@ -268,7 +268,7 @@ def check_types(config_cmd, ext, build_d
+         raise SystemError(
+                 "Cannot compile 'Python.h'. Perhaps you need to "
+                 "install python-dev|python-devel.")
+-    res = config_cmd.check_header("endian.h")
++    res = config_cmd.check_header("sys/endian.h")
+     if res:
+         private_defines.append(('HAVE_ENDIAN_H', 1))
+         public_defines.append(('NPY_HAVE_ENDIAN_H', 1))



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