summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-06-14 14:33:07 +0000
committeradam <adam@pkgsrc.org>2019-06-14 14:33:07 +0000
commit6bd568ed3ab6cfce3f014d861619a42636f66b15 (patch)
tree965424be3de4da344cb13b2a05865f6ce9314373 /math
parent2dbc12881b497506c676c504d7aec862bdf715c5 (diff)
downloadpkgsrc-6bd568ed3ab6cfce3f014d861619a42636f66b15.tar.gz
py-numpy: updated to 1.16.4
1.16.4: BUG: Some PyPy versions lack PyStructSequence_InitType2. MAINT, DEP: Fix deprecated ``assertEquals()`` BUG: Fix structured_to_unstructured on single-field types (backport) BLD: Make CI pass again with pytest 4.5 TST: Register markers in conftest.py. BUG: Removes ValueError for empty kwargs in arraymultiter_new BUG: Add TypeError to accepted exceptions in crackfortran. BUG: Handle subarrays in descr_to_dtype BUG: Protect generators from log(0.0) BUG: Always return views from structured_to_unstructured when... BUG: Catch stderr when checking compiler version BUG: longdouble(int) does not work BUG: distutils/system_info.py fix missing subprocess import BUG,DEP: Fix writeable flag setting for arrays without base MAINT: Prepare for the 1.16.4 release. BUG: special case object arrays when printing rel-, abs-error
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy/Makefile9
-rw-r--r--math/py-numpy/distinfo10
2 files changed, 10 insertions, 9 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index 079d9e85ecd..4cf22a04b45 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2019/04/24 10:09:59 adam Exp $
+# $NetBSD: Makefile,v 1.61 2019/06/14 14:33:07 adam Exp $
-DISTNAME= numpy-1.16.3
+DISTNAME= numpy-1.16.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/}
@@ -22,9 +22,9 @@ REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
-.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95)
+.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "g95"
PYSETUPBUILDARGS+= --fcompiler=g95
-.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
+.elif defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran"
PYSETUPBUILDARGS+= --fcompiler=gnu95
.elif !empty(PKGSRC_COMPILER:Mgcc)
PYSETUPBUILDARGS+= --fcompiler=gnu
@@ -45,6 +45,7 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && ${RM} f2py || ${TRUE}
do-test:
+ cd ${WRKDIR} && \
${RUN} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} -c "import numpy; numpy.test()"
.include "../../devel/py-cython/buildlink3.mk"
diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo
index 44cee85f0b3..24725b89bd4 100644
--- a/math/py-numpy/distinfo
+++ b/math/py-numpy/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.43 2019/04/24 10:09:59 adam Exp $
+$NetBSD: distinfo,v 1.44 2019/06/14 14:33:07 adam Exp $
-SHA1 (numpy-1.16.3.zip) = ddd8e085ae4cd731843c7d213ea05ceb3e2af7fd
-RMD160 (numpy-1.16.3.zip) = 4564965e8b424a8ce52b5891211e204f7901d3dd
-SHA512 (numpy-1.16.3.zip) = 416fc4d5f7f3de56375d6dad1e2a8501682a2895518224d2f8fe3df57bdc1e7574c9b83ef371b8394e2bfc697601623ec1a9080838598deae7db1a0a4cd74efd
-Size (numpy-1.16.3.zip) = 5101064 bytes
+SHA1 (numpy-1.16.4.zip) = 153d74c1cecd247edf517f8e481c567fa083fa18
+RMD160 (numpy-1.16.4.zip) = 6af02f6924c58515c8890dd88909f76e4e815c6e
+SHA512 (numpy-1.16.4.zip) = 5b2848ef38d79a9d416425a22602dd45aa665df996908015f32fb7477e37aa5968009cb27b3e1bdcf24ce7c0c39bafa3ff380cb45a766c1f530483f88921df21
+Size (numpy-1.16.4.zip) = 5122740 bytes
SHA1 (patch-numpy_distutils_fcompiler_____init____.py) = 49d070da5b48bd9818b37ac3254341fa68503c53
SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed
SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = db8d3238c618ecd5900650a2150efb9459e94e96