Accepting request 606683 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/606683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2018-05-16 09:39:35 +00:00 committed by Git OBS Bridge
parent bbff150c54
commit a096cdd2c7
4 changed files with 51 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c62121b2d384d8b4d244ef26c1cf8bb5cb819278a80b893bf41918ad6d391258
size 1366942

3
numba-0.38.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da1a5ae35a64536dcc46880450e0f839e53a2cf5c587fb09e5e1bf9cbcca8693
size 1406895

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Sat May 12 16:21:24 UTC 2018 - arun@gmx.de
- update to version 0.38.0:
* highlights:
+ Numba (via llvmlite) is now backed by LLVM 6.0, general
vectorization is improved as a result. A significant long
standing LLVM bug that was causing corruption was also found and
fixed.
+ Further considerable improvements in vectorization are made
available as Numba now supports Intel's short vector math
library (SVML). Try it out with `conda install -c numba
icc_rt`.
+ CUDA 8.0 is now the minimum supported CUDA version.
* Other highlights include:
+ Bug fixes to `parallel=True` have enabled more vectorization
opportunities when using the ParallelAccelerator technology.
+ Much effort has gone into improving error reporting and the
general usability of Numba. This includes highlighted error
messages and performance tips documentation. Try it out with
`conda install colorama`.
+ A number of new NumPy functions are supported, `np.convolve`,
`np.correlate` `np.reshape`, `np.transpose`, `np.permutation`,
`np.real`, `np.imag`, and `np.searchsorted` now supports
the`side` kwarg. Further, `np.argsort` now supports the `kind`
kwarg with `quicksort` and `mergesort` available.
+ The Numba extension API has gained the ability operate more
easily with functions from Cython modules through the use of
`numba.extending.get_cython_function_address` to obtain function
addresses for direct use in `ctypes.CFUNCTYPE`.
+ Numba now allows the passing of jitted functions (and containers
of jitted functions) as arguments to other jitted functions.
+ The CUDA functionality has gained support for a larger selection
of bit manipulation intrinsics, also SELP, and has had a number
of bugs fixed.
+ Initial work to support the PPC64LE platform has been added,
full support is however waiting on the LLVM 6.0.1 release as it
contains critical patches not present in 6.0.0. It is hoped
that any remaining issues will be fixed in the next release.
+ The capacity for advanced users/compiler engineers to define
their own compilation pipelines.
-------------------------------------------------------------------
Mon Apr 23 14:55:41 UTC 2018 - toddrme2178@gmail.com

View File

@ -16,16 +16,15 @@
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without tests
Name: python-numba
Version: 0.37.0
Version: 0.38.0
Release: 0
Summary: Compiling Python code using LLVM
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://numba.github.com
URL: http://numba.github.com
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module llvmlite >= 0.22}
@ -67,10 +66,9 @@ Requires: python-numpy-devel >= 1.7
%description devel
This package contains files for developing applications using numba.
%prep
%setup -q -n numba-%{version}
sed -i '1{\@^#!/usr/bin/env python@d}' numba/appdirs.py
sed -i '1{\@^#!%{_bindir}/env python@d}' numba/appdirs.py
%build
%python_build
@ -89,8 +87,8 @@ sed -i '1{\@^#!/usr/bin/env python@d}' numba/appdirs.py
%python_uninstall_alternative numba
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS CHANGE_LOG LICENSE README.rst
%license LICENSE
%doc AUTHORS CHANGE_LOG README.rst
%python_alternative %{_bindir}/numba
%python_alternative %{_bindir}/pycc
%{python_sitearch}/numba/
@ -101,7 +99,6 @@ sed -i '1{\@^#!/usr/bin/env python@d}' numba/appdirs.py
%exclude %{python_sitearch}/numba/*/*.h
%files %{python_files devel}
%defattr(-,root,root)
%{python_sitearch}/numba/*.c
%{python_sitearch}/numba/*.h
%{python_sitearch}/numba/*/*.c