pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-numba py-numba: updated to 0.39.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd71b0979c3f
branches:  trunk
changeset: 312203:cd71b0979c3f
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 28 12:06:42 2018 +0000

description:
py-numba: updated to 0.39.0

Version 0.39.0
Here are the highlights for the Numba 0.39.0 release.

This is the first version that supports Python 3.7.
With help from Intel, we have fixed the issues with SVML support.
List has gained support for containing reference-counted types like NumPy arrays and list. Note, list still cannot hold heterogeneous types.
We have made a significant change to the internal calling-convention, which should be transparent to most users, to allow for a future feature that will permitting jumping back into python-mode from 
a nopython-mode function. This also fixes a limitation to print that disabled its use from nopython functions that were deep in the call-stack.
For CUDA GPU support, we added a __cuda_array_interface__ following the NumPy array interface specification to allow Numba to consume externally defined device arrays. We have opened a corresponding 
pull request to CuPy to test out the concept and be able to use a CuPy GPU array.
The Numba dispatcher inspect_types() method now supports the kwarg pretty which if set to True will produce ANSI/HTML output, showing the annotated types, when invoked from ipython/jupyter-notebook 
respectively.
The NumPy functions ndarray.dot, np.percentile and np.nanpercentile, and np.unique are now supported.
Numba now supports the use of a per-project configuration file to permanently set behaviours typically set via NUMBA_* family environment variables.
Support for the ppc64le architecture has been added.

diffstat:

 math/py-numba/Makefile |  19 ++++++++++++-------
 math/py-numba/PLIST    |  35 +++++++++++++++++++++++++++++++----
 math/py-numba/distinfo |  10 +++++-----
 3 files changed, 48 insertions(+), 16 deletions(-)

diffs (171 lines):

diff -r f48635480315 -r cd71b0979c3f math/py-numba/Makefile
--- a/math/py-numba/Makefile    Tue Aug 28 11:55:08 2018 +0000
+++ b/math/py-numba/Makefile    Tue Aug 28 12:06:42 2018 +0000
@@ -1,21 +1,26 @@
-# $NetBSD: Makefile,v 1.1 2018/05/18 16:08:49 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/08/28 12:06:42 adam Exp $
 
-DISTNAME=      numba-0.37.0
-GITHUB_PROJECT=        numba
+DISTNAME=      numba-0.39.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    math
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=numba/}
+CATEGORIES=    math python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numba/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://numba.pydata.org/
 COMMENT=       NumPy aware dynamic Python compiler using LLVM
 LICENSE=       2-clause-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-llvmlite>=0.22:../../devel/py-llvmlite
+DEPENDS+=      ${PYPKGPREFIX}-llvmlite>=0.24.0:../../devel/py-llvmlite
 
 USE_LANGUAGES= c c++
 
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+DEPENDS+=      ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
+DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
+.endif
+
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f48635480315 -r cd71b0979c3f math/py-numba/PLIST
--- a/math/py-numba/PLIST       Tue Aug 28 11:55:08 2018 +0000
+++ b/math/py-numba/PLIST       Tue Aug 28 12:06:42 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/05/18 16:08:49 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/08/28 12:06:42 adam Exp $
 bin/numba
 bin/pycc
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -89,6 +89,9 @@
 ${PYSITELIB}/numba/cuda/api.py
 ${PYSITELIB}/numba/cuda/api.pyc
 ${PYSITELIB}/numba/cuda/api.pyo
+${PYSITELIB}/numba/cuda/args.py
+${PYSITELIB}/numba/cuda/args.pyc
+${PYSITELIB}/numba/cuda/args.pyo
 ${PYSITELIB}/numba/cuda/codegen.py
 ${PYSITELIB}/numba/cuda/codegen.pyc
 ${PYSITELIB}/numba/cuda/codegen.pyo
@@ -156,6 +159,9 @@
 ${PYSITELIB}/numba/cuda/initialize.py
 ${PYSITELIB}/numba/cuda/initialize.pyc
 ${PYSITELIB}/numba/cuda/initialize.pyo
+${PYSITELIB}/numba/cuda/intrinsic_wrapper.py
+${PYSITELIB}/numba/cuda/intrinsic_wrapper.pyc
+${PYSITELIB}/numba/cuda/intrinsic_wrapper.pyo
 ${PYSITELIB}/numba/cuda/kernels/__init__.py
 ${PYSITELIB}/numba/cuda/kernels/__init__.pyc
 ${PYSITELIB}/numba/cuda/kernels/__init__.pyo
@@ -183,9 +189,6 @@
 ${PYSITELIB}/numba/cuda/simulator/api.py
 ${PYSITELIB}/numba/cuda/simulator/api.pyc
 ${PYSITELIB}/numba/cuda/simulator/api.pyo
-${PYSITELIB}/numba/cuda/simulator/array.py
-${PYSITELIB}/numba/cuda/simulator/array.pyc
-${PYSITELIB}/numba/cuda/simulator/array.pyo
 ${PYSITELIB}/numba/cuda/simulator/compiler.py
 ${PYSITELIB}/numba/cuda/simulator/compiler.pyc
 ${PYSITELIB}/numba/cuda/simulator/compiler.pyo
@@ -340,6 +343,9 @@
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_constmem.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_constmem.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_constmem.pyo
+${PYSITELIB}/numba/cuda/tests/cudapy/test_cuda_array_interface.py
+${PYSITELIB}/numba/cuda/tests/cudapy/test_cuda_array_interface.pyc
+${PYSITELIB}/numba/cuda/tests/cudapy/test_cuda_array_interface.pyo
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_cuda_autojit.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_cuda_autojit.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_cuda_autojit.pyo
@@ -448,6 +454,9 @@
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_reduction.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_reduction.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_reduction.pyo
+${PYSITELIB}/numba/cuda/tests/cudapy/test_retrieve_autoconverted_arrays.py
+${PYSITELIB}/numba/cuda/tests/cudapy/test_retrieve_autoconverted_arrays.pyc
+${PYSITELIB}/numba/cuda/tests/cudapy/test_retrieve_autoconverted_arrays.pyo
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_serialize.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_serialize.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_serialize.pyo
@@ -484,6 +493,9 @@
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_vectorize_scalar_arg.py
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_vectorize_scalar_arg.pyc
 ${PYSITELIB}/numba/cuda/tests/cudapy/test_vectorize_scalar_arg.pyo
+${PYSITELIB}/numba/cuda/tests/cudapy/test_warp_ops.py
+${PYSITELIB}/numba/cuda/tests/cudapy/test_warp_ops.pyc
+${PYSITELIB}/numba/cuda/tests/cudapy/test_warp_ops.pyo
 ${PYSITELIB}/numba/cuda/tests/cudasim/__init__.py
 ${PYSITELIB}/numba/cuda/tests/cudasim/__init__.pyc
 ${PYSITELIB}/numba/cuda/tests/cudasim/__init__.pyo
@@ -779,6 +791,9 @@
 ${PYSITELIB}/numba/postproc.py
 ${PYSITELIB}/numba/postproc.pyc
 ${PYSITELIB}/numba/postproc.pyo
+${PYSITELIB}/numba/pretty_annotate.py
+${PYSITELIB}/numba/pretty_annotate.pyc
+${PYSITELIB}/numba/pretty_annotate.pyo
 ${PYSITELIB}/numba/pycc/__init__.py
 ${PYSITELIB}/numba/pycc/__init__.pyc
 ${PYSITELIB}/numba/pycc/__init__.pyo
@@ -944,6 +959,9 @@
 ${PYSITELIB}/numba/targets/mathimpl.py
 ${PYSITELIB}/numba/targets/mathimpl.pyc
 ${PYSITELIB}/numba/targets/mathimpl.pyo
+${PYSITELIB}/numba/targets/mergesort.py
+${PYSITELIB}/numba/targets/mergesort.pyc
+${PYSITELIB}/numba/targets/mergesort.pyo
 ${PYSITELIB}/numba/targets/npdatetime.py
 ${PYSITELIB}/numba/targets/npdatetime.pyc
 ${PYSITELIB}/numba/targets/npdatetime.pyo
@@ -1187,6 +1205,9 @@
 ${PYSITELIB}/numba/tests/test_comprehension.py
 ${PYSITELIB}/numba/tests/test_comprehension.pyc
 ${PYSITELIB}/numba/tests/test_comprehension.pyo
+${PYSITELIB}/numba/tests/test_config.py
+${PYSITELIB}/numba/tests/test_config.pyc
+${PYSITELIB}/numba/tests/test_config.pyo
 ${PYSITELIB}/numba/tests/test_conversion.py
 ${PYSITELIB}/numba/tests/test_conversion.pyc
 ${PYSITELIB}/numba/tests/test_conversion.pyo
@@ -1385,6 +1406,9 @@
 ${PYSITELIB}/numba/tests/test_parfors.py
 ${PYSITELIB}/numba/tests/test_parfors.pyc
 ${PYSITELIB}/numba/tests/test_parfors.pyo
+${PYSITELIB}/numba/tests/test_pipeline.py
+${PYSITELIB}/numba/tests/test_pipeline.pyc
+${PYSITELIB}/numba/tests/test_pipeline.pyo
 ${PYSITELIB}/numba/tests/test_polynomial.py
 ${PYSITELIB}/numba/tests/test_polynomial.pyc
 ${PYSITELIB}/numba/tests/test_polynomial.pyo
@@ -1448,6 +1472,9 @@
 ${PYSITELIB}/numba/tests/test_support.py
 ${PYSITELIB}/numba/tests/test_support.pyc
 ${PYSITELIB}/numba/tests/test_support.pyo
+${PYSITELIB}/numba/tests/test_svml.py
+${PYSITELIB}/numba/tests/test_svml.pyc
+${PYSITELIB}/numba/tests/test_svml.pyo
 ${PYSITELIB}/numba/tests/test_target_overloadselector.py
 ${PYSITELIB}/numba/tests/test_target_overloadselector.pyc
 ${PYSITELIB}/numba/tests/test_target_overloadselector.pyo
diff -r f48635480315 -r cd71b0979c3f math/py-numba/distinfo
--- a/math/py-numba/distinfo    Tue Aug 28 11:55:08 2018 +0000
+++ b/math/py-numba/distinfo    Tue Aug 28 12:06:42 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/05/18 16:08:49 minskim Exp $
+$NetBSD: distinfo,v 1.2 2018/08/28 12:06:42 adam Exp $
 
-SHA1 (numba-0.37.0.tar.gz) = 169064ae9fc9e5f2ea25f4c2f1777c8f9e06b1eb
-RMD160 (numba-0.37.0.tar.gz) = 44aebaf5986cad9a3b6c12a4d7faa0708105a68d
-SHA512 (numba-0.37.0.tar.gz) = 83a4e5a28a43ed1cd6584ccd63aac38a928af48c424ed119bc86487f0a2bfb9875c34f6fe0a03446d8c8e9179be81f831200c12ff31edc22bc4741789095f861
-Size (numba-0.37.0.tar.gz) = 1734667 bytes
+SHA1 (numba-0.39.0.tar.gz) = 4baa3c6d47b45c28e80f2e30bee2cbc7ee1ac2a8
+RMD160 (numba-0.39.0.tar.gz) = ca9d02348334c8ec0d6a48bdb4455d33babedbb1
+SHA512 (numba-0.39.0.tar.gz) = 434b5ad0a55bf69ffc354c81385d5158f7365290946ce3eabfe96ca757a44c51810ef58dddc5c110642f8a3e9203bae5dfcce335a1c8375b9a3429ff0d2d8312
+Size (numba-0.39.0.tar.gz) = 1408098 bytes



Home | Main Index | Thread Index | Old Index