pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-numpy py-numpy: updated to 1.15.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/12274e6d8af8
branches: trunk
changeset: 383787:12274e6d8af8
user: adam <adam%pkgsrc.org@localhost>
date: Fri Aug 10 08:59:08 2018 +0000
description:
py-numpy: updated to 1.15.0
NumPy 1.15.0 is a release with an unusual number of cleanups, many deprecations
of old functions, and improvements to many existing functions. Please read the
detailed descriptions below to see if you are affected.
For testing, we have switched to pytest as a replacement for the no longer
maintained nose framework. The old nose based interface remains for downstream
projects who may still be using it.
The Python versions supported by this release are 2.7, 3.4-3.7. The wheels are
linked with OpenBLAS v0.3.0, which should fix some of the linalg problems
reported for NumPy 1.14.
Highlights:
- NumPy has switched to pytest for testing.
- A new numpy.printoptions context manager.
- Many improvements to the histogram functions.
- Support for unicode field names in python 2.7.
- Improved support for PyPy.
- Fixes and improvements to numpy.einsum.
diffstat:
math/py-numpy/ALTERNATIVES | 3 +
math/py-numpy/Makefile | 13 +++++--
math/py-numpy/PLIST | 71 ++++++++++++++++++++++++++++++---------------
math/py-numpy/distinfo | 10 +++---
4 files changed, 64 insertions(+), 33 deletions(-)
diffs (236 lines):
diff -r 06589f5dee18 -r 12274e6d8af8 math/py-numpy/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy/ALTERNATIVES Fri Aug 10 08:59:08 2018 +0000
@@ -0,0 +1,3 @@
+bin/conv-template @PREFIX@/bin/conv-template${PYVERSSUFFIX}
+bin/f2py @PREFIX@/bin/f2py@PYVERSSUFFIX@
+bin/from-template @PREFIX@/bin/from-template${PYVERSSUFFIX}
diff -r 06589f5dee18 -r 12274e6d8af8 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile Fri Aug 10 07:20:01 2018 +0000
+++ b/math/py-numpy/Makefile Fri Aug 10 08:59:08 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2018/06/18 06:47:03 adam Exp $
+# $NetBSD: Makefile,v 1.52 2018/08/10 08:59:08 adam Exp $
-DISTNAME= numpy-1.14.5
+DISTNAME= numpy-1.15.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/}
@@ -11,6 +11,9 @@
COMMENT= Array processing for numbers, strings, records, and objects
LICENSE= modified-bsd
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
USE_LANGUAGES= c fortran
MAKE_ENV+= ATLAS=None
@@ -38,8 +41,10 @@
# Work around it on DragonFly by specifying the classic gnu linker
MAKE_ENV.DragonFly+= LDVER=ld.bfd
-# TEST_DEPENDS
-BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${RM} f2py && \
+ ${MV} conv-template conv-template${PYVERSSUFFIX} && \
+ ${MV} from-template from-template${PYVERSSUFFIX} || ${TRUE}
do-test:
${RUN} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} -c "import numpy; numpy.test()"
diff -r 06589f5dee18 -r 12274e6d8af8 math/py-numpy/PLIST
--- a/math/py-numpy/PLIST Fri Aug 10 07:20:01 2018 +0000
+++ b/math/py-numpy/PLIST Fri Aug 10 08:59:08 2018 +0000
@@ -1,8 +1,12 @@
-@comment $NetBSD: PLIST,v 1.21 2018/01/10 08:31:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2018/08/10 08:59:08 adam Exp $
+bin/conv-template${PYVERSSUFFIX}
bin/f2py${PYVERSSUFFIX}
+bin/from-template${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/numpy/LICENSE.txt
${PYSITELIB}/numpy/__config__.py
@@ -35,6 +39,8 @@
${PYSITELIB}/numpy/compat/setup.py
${PYSITELIB}/numpy/compat/setup.pyc
${PYSITELIB}/numpy/compat/setup.pyo
+${PYSITELIB}/numpy/compat/tests/__init__.py
+${PYSITELIB}/numpy/compat/tests/test_compat.py
${PYSITELIB}/numpy/conftest.py
${PYSITELIB}/numpy/conftest.pyc
${PYSITELIB}/numpy/conftest.pyo
@@ -48,6 +54,11 @@
${PYSITELIB}/numpy/core/_methods.py
${PYSITELIB}/numpy/core/_methods.pyc
${PYSITELIB}/numpy/core/_methods.pyo
+${PYSITELIB}/numpy/core/_multiarray_tests.so
+${PYSITELIB}/numpy/core/_operand_flag_tests.so
+${PYSITELIB}/numpy/core/_rational_tests.so
+${PYSITELIB}/numpy/core/_struct_ufunc_tests.so
+${PYSITELIB}/numpy/core/_umath_tests.so
${PYSITELIB}/numpy/core/arrayprint.py
${PYSITELIB}/numpy/core/arrayprint.pyc
${PYSITELIB}/numpy/core/arrayprint.pyo
@@ -111,14 +122,12 @@
${PYSITELIB}/numpy/core/memmap.pyc
${PYSITELIB}/numpy/core/memmap.pyo
${PYSITELIB}/numpy/core/multiarray.so
-${PYSITELIB}/numpy/core/multiarray_tests.so
${PYSITELIB}/numpy/core/numeric.py
${PYSITELIB}/numpy/core/numeric.pyc
${PYSITELIB}/numpy/core/numeric.pyo
${PYSITELIB}/numpy/core/numerictypes.py
${PYSITELIB}/numpy/core/numerictypes.pyc
${PYSITELIB}/numpy/core/numerictypes.pyo
-${PYSITELIB}/numpy/core/operand_flag_tests.so
${PYSITELIB}/numpy/core/records.py
${PYSITELIB}/numpy/core/records.pyc
${PYSITELIB}/numpy/core/records.pyo
@@ -131,9 +140,8 @@
${PYSITELIB}/numpy/core/shape_base.py
${PYSITELIB}/numpy/core/shape_base.pyc
${PYSITELIB}/numpy/core/shape_base.pyo
-${PYSITELIB}/numpy/core/struct_ufunc_test.so
-${PYSITELIB}/numpy/core/test_rational.so
${PYSITELIB}/numpy/core/tests/__init__.py
+${PYSITELIB}/numpy/core/tests/_locales.py
${PYSITELIB}/numpy/core/tests/data/astype_copy.pkl
${PYSITELIB}/numpy/core/tests/data/recarray_from_file.fits
${PYSITELIB}/numpy/core/tests/test_abc.py
@@ -164,6 +172,7 @@
${PYSITELIB}/numpy/core/tests/test_records.py
${PYSITELIB}/numpy/core/tests/test_regression.py
${PYSITELIB}/numpy/core/tests/test_scalar_ctors.py
+${PYSITELIB}/numpy/core/tests/test_scalarbuffer.py
${PYSITELIB}/numpy/core/tests/test_scalarinherit.py
${PYSITELIB}/numpy/core/tests/test_scalarmath.py
${PYSITELIB}/numpy/core/tests/test_scalarprint.py
@@ -173,7 +182,9 @@
${PYSITELIB}/numpy/core/tests/test_umath_complex.py
${PYSITELIB}/numpy/core/tests/test_unicode.py
${PYSITELIB}/numpy/core/umath.so
-${PYSITELIB}/numpy/core/umath_tests.so
+${PYSITELIB}/numpy/core/umath_tests.py
+${PYSITELIB}/numpy/core/umath_tests.pyc
+${PYSITELIB}/numpy/core/umath_tests.pyo
${PYSITELIB}/numpy/ctypeslib.py
${PYSITELIB}/numpy/ctypeslib.pyc
${PYSITELIB}/numpy/ctypeslib.pyo
@@ -363,6 +374,7 @@
${PYSITELIB}/numpy/distutils/tests/test_fcompiler_gnu.py
${PYSITELIB}/numpy/distutils/tests/test_fcompiler_intel.py
${PYSITELIB}/numpy/distutils/tests/test_fcompiler_nagfor.py
+${PYSITELIB}/numpy/distutils/tests/test_from_template.py
${PYSITELIB}/numpy/distutils/tests/test_misc_util.py
${PYSITELIB}/numpy/distutils/tests/test_npy_pkg_config.py
${PYSITELIB}/numpy/distutils/tests/test_system_info.py
@@ -498,6 +510,7 @@
${PYSITELIB}/numpy/f2py/tests/test_return_integer.py
${PYSITELIB}/numpy/f2py/tests/test_return_logical.py
${PYSITELIB}/numpy/f2py/tests/test_return_real.py
+${PYSITELIB}/numpy/f2py/tests/test_semicolon_split.py
${PYSITELIB}/numpy/f2py/tests/test_size.py
${PYSITELIB}/numpy/f2py/tests/test_string.py
${PYSITELIB}/numpy/f2py/tests/util.py
@@ -553,6 +566,9 @@
${PYSITELIB}/numpy/lib/function_base.py
${PYSITELIB}/numpy/lib/function_base.pyc
${PYSITELIB}/numpy/lib/function_base.pyo
+${PYSITELIB}/numpy/lib/histograms.py
+${PYSITELIB}/numpy/lib/histograms.pyc
+${PYSITELIB}/numpy/lib/histograms.pyo
${PYSITELIB}/numpy/lib/index_tricks.py
${PYSITELIB}/numpy/lib/index_tricks.pyc
${PYSITELIB}/numpy/lib/index_tricks.pyo
@@ -602,6 +618,7 @@
${PYSITELIB}/numpy/lib/tests/test_financial.py
${PYSITELIB}/numpy/lib/tests/test_format.py
${PYSITELIB}/numpy/lib/tests/test_function_base.py
+${PYSITELIB}/numpy/lib/tests/test_histograms.py
${PYSITELIB}/numpy/lib/tests/test_index_tricks.py
${PYSITELIB}/numpy/lib/tests/test_io.py
${PYSITELIB}/numpy/lib/tests/test_mixins.py
@@ -699,6 +716,9 @@
${PYSITELIB}/numpy/matrixlib/setup.pyo
${PYSITELIB}/numpy/matrixlib/tests/__init__.py
${PYSITELIB}/numpy/matrixlib/tests/test_defmatrix.py
+${PYSITELIB}/numpy/matrixlib/tests/test_interaction.py
+${PYSITELIB}/numpy/matrixlib/tests/test_masked_matrix.py
+${PYSITELIB}/numpy/matrixlib/tests/test_matrix_linalg.py
${PYSITELIB}/numpy/matrixlib/tests/test_multiarray.py
${PYSITELIB}/numpy/matrixlib/tests/test_numeric.py
${PYSITELIB}/numpy/matrixlib/tests/test_regression.py
@@ -762,27 +782,30 @@
${PYSITELIB}/numpy/testing/__init__.py
${PYSITELIB}/numpy/testing/__init__.pyc
${PYSITELIB}/numpy/testing/__init__.pyo
+${PYSITELIB}/numpy/testing/_private/__init__.py
+${PYSITELIB}/numpy/testing/_private/__init__.pyc
+${PYSITELIB}/numpy/testing/_private/__init__.pyo
+${PYSITELIB}/numpy/testing/_private/decorators.py
+${PYSITELIB}/numpy/testing/_private/decorators.pyc
+${PYSITELIB}/numpy/testing/_private/decorators.pyo
+${PYSITELIB}/numpy/testing/_private/noseclasses.py
+${PYSITELIB}/numpy/testing/_private/noseclasses.pyc
+${PYSITELIB}/numpy/testing/_private/noseclasses.pyo
+${PYSITELIB}/numpy/testing/_private/nosetester.py
+${PYSITELIB}/numpy/testing/_private/nosetester.pyc
+${PYSITELIB}/numpy/testing/_private/nosetester.pyo
+${PYSITELIB}/numpy/testing/_private/parameterized.py
+${PYSITELIB}/numpy/testing/_private/parameterized.pyc
+${PYSITELIB}/numpy/testing/_private/parameterized.pyo
+${PYSITELIB}/numpy/testing/_private/pytesttester.py
+${PYSITELIB}/numpy/testing/_private/pytesttester.pyc
+${PYSITELIB}/numpy/testing/_private/pytesttester.pyo
+${PYSITELIB}/numpy/testing/_private/utils.py
+${PYSITELIB}/numpy/testing/_private/utils.pyc
+${PYSITELIB}/numpy/testing/_private/utils.pyo
${PYSITELIB}/numpy/testing/decorators.py
${PYSITELIB}/numpy/testing/decorators.pyc
${PYSITELIB}/numpy/testing/decorators.pyo
-${PYSITELIB}/numpy/testing/nose_tools/__init__.py
-${PYSITELIB}/numpy/testing/nose_tools/__init__.pyc
-${PYSITELIB}/numpy/testing/nose_tools/__init__.pyo
-${PYSITELIB}/numpy/testing/nose_tools/decorators.py
-${PYSITELIB}/numpy/testing/nose_tools/decorators.pyc
-${PYSITELIB}/numpy/testing/nose_tools/decorators.pyo
-${PYSITELIB}/numpy/testing/nose_tools/noseclasses.py
-${PYSITELIB}/numpy/testing/nose_tools/noseclasses.pyc
-${PYSITELIB}/numpy/testing/nose_tools/noseclasses.pyo
-${PYSITELIB}/numpy/testing/nose_tools/nosetester.py
-${PYSITELIB}/numpy/testing/nose_tools/nosetester.pyc
-${PYSITELIB}/numpy/testing/nose_tools/nosetester.pyo
-${PYSITELIB}/numpy/testing/nose_tools/parameterized.py
-${PYSITELIB}/numpy/testing/nose_tools/parameterized.pyc
-${PYSITELIB}/numpy/testing/nose_tools/parameterized.pyo
-${PYSITELIB}/numpy/testing/nose_tools/utils.py
-${PYSITELIB}/numpy/testing/nose_tools/utils.pyc
-${PYSITELIB}/numpy/testing/nose_tools/utils.pyo
${PYSITELIB}/numpy/testing/noseclasses.py
${PYSITELIB}/numpy/testing/noseclasses.pyc
${PYSITELIB}/numpy/testing/noseclasses.pyo
diff -r 06589f5dee18 -r 12274e6d8af8 math/py-numpy/distinfo
--- a/math/py-numpy/distinfo Fri Aug 10 07:20:01 2018 +0000
+++ b/math/py-numpy/distinfo Fri Aug 10 08:59:08 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.33 2018/06/18 06:47:03 adam Exp $
+$NetBSD: distinfo,v 1.34 2018/08/10 08:59:08 adam Exp $
-SHA1 (numpy-1.14.5.zip) = bafe3e48ac3d90ed5105ac0db4982b405a8a58ff
-RMD160 (numpy-1.14.5.zip) = 7f884a5d493445d204ab093ad715691de444fa0a
-SHA512 (numpy-1.14.5.zip) = e131f9fa815084e334b59c5d9abd8de0088ad1dfefecf8615ad7deca0b54b0dfa0446c8de99c90670ea9fcabea9980bd171618a5b9032c1937b597a5ce363c5b
-Size (numpy-1.14.5.zip) = 4904624 bytes
+SHA1 (numpy-1.15.0.zip) = dfd54a7d3628a3101a5dbc20c877d55c63caf6e8
+RMD160 (numpy-1.15.0.zip) = c8e739257a4ee42f91b9d185ac954510e4d372c0
+SHA512 (numpy-1.15.0.zip) = 018e2535d1beb3fb643b5fd4dcc8e205d71103e954454065277243352c701f31dc8c54c415a7839ed016764414d1ab31264540b7968d01b58e6114170b442ebe
+Size (numpy-1.15.0.zip) = 4477952 bytes
SHA1 (patch-aa) = c964fa13fb120b1b0f9d0bf5bc713507cd60b945
SHA1 (patch-ab) = b421455fdbb666c8075d8bffbeb59533434d23e6
SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed
Home |
Main Index |
Thread Index |
Old Index