Accepting request 492720 from devel:languages:python
replaces python3-numba OBS-URL: https://build.opensuse.org/request/show/492720 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=1
This commit is contained in:
commit
1abb7c3174
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
numba-0.32.0.tar.gz
Normal file
3
numba-0.32.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f402ad47e2025f498f1303757ef38174a0358ac1a9f33657258671050d6b7683
|
||||||
|
size 1177902
|
140
python-numba.changes
Normal file
140
python-numba.changes
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 18:23:09 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- update to version 0.32.0:
|
||||||
|
+ Improvements:
|
||||||
|
* PR #2322: Suppress test error due to unknown but consistent error with tgamma
|
||||||
|
* PR #2320: Update llvmlite dependency to 0.17
|
||||||
|
* PR #2308: Add details to error message on why cuda support is disabled.
|
||||||
|
* PR #2302: Add os x to travis
|
||||||
|
* PR #2294: Disable remove_module on MCJIT due to memory leak inside LLVM
|
||||||
|
* PR #2291: Split parallel tests and recycle workers to tame memory usage
|
||||||
|
* PR #2253: Remove the pointer-stuffing hack for storing meminfos in lists
|
||||||
|
+ Fixes:
|
||||||
|
* PR #2331: Fix a bug in the GPU array indexing
|
||||||
|
* PR #2326: Fix #2321 docs referring to non-existing function.
|
||||||
|
* PR #2316: Fixing more race-condition problems
|
||||||
|
* PR #2315: Fix #2314. Relax strict type check to allow optional type.
|
||||||
|
* PR #2310: Fix race condition due to concurrent compilation and cache loading
|
||||||
|
* PR #2304: Fix intrinsic 1st arg not a typing.Context as stated by the docs.
|
||||||
|
* PR #2287: Fix int64 atomic min-max
|
||||||
|
* PR #2286: Fix #2285 `@overload_method` not linking dependent libs
|
||||||
|
* PR #2303: Missing import statements to interval-example.rst
|
||||||
|
- Implement single-spec version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 22 22:15:53 UTC 2017 - arun@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.31.0:
|
||||||
|
* Improvements:
|
||||||
|
+ PR #2281: Update for numpy1.12
|
||||||
|
+ PR #2278: Add CUDA atomic.{max, min, compare_and_swap}
|
||||||
|
+ PR #2277: Add about section to conda recipies to identify
|
||||||
|
license and other metadata in Anaconda Cloud
|
||||||
|
+ PR #2271: Adopt itanium C++-style mangling for CPU and CUDA
|
||||||
|
targets
|
||||||
|
+ PR #2267: Add fastmath flags
|
||||||
|
+ PR #2261: Support dtype.type
|
||||||
|
+ PR #2249: Changes for llvm3.9
|
||||||
|
+ PR #2234: Bump llvmlite requirement to 0.16 and add
|
||||||
|
install_name_tool_fixer to mviewbuf for OS X
|
||||||
|
+ PR #2230: Add python3.6 to TravisCi
|
||||||
|
+ PR #2227: Enable caching for gufunc wrapper
|
||||||
|
+ PR #2170: Add debugging support
|
||||||
|
+ PR #2037: inspect_cfg() for easier visualization of the function
|
||||||
|
operation
|
||||||
|
* Fixes:
|
||||||
|
+ PR #2274: Fix nvvm ir patch in mishandling “load”
|
||||||
|
+ PR #2272: Fix breakage to cuda7.5
|
||||||
|
+ PR #2269: Fix caching of copy_strides kernel in cuda.reduce
|
||||||
|
+ PR #2265: Fix #2263: error when linking two modules with dynamic
|
||||||
|
globals
|
||||||
|
+ PR #2252: Fix path separator in test
|
||||||
|
+ PR #2246: Fix overuse of memory in some system with fork
|
||||||
|
+ PR #2241: Fix #2240: __module__ in dynamically created function
|
||||||
|
not a str
|
||||||
|
+ PR #2239: Fix fingerprint computation failure preventing
|
||||||
|
fallback
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 15 00:33:08 UTC 2017 - arun@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.30.1:
|
||||||
|
* Fixes:
|
||||||
|
+ PR #2232: Fix name clashes with _Py_hashtable_xxx in Python 3.6.
|
||||||
|
* Improvements:
|
||||||
|
+ PR #2217: Add Intel TBB threadpool implementation for parallel
|
||||||
|
ufunc.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 10 17:17:33 UTC 2017 - arun@gmx.de
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* update copyright year
|
||||||
|
|
||||||
|
- update to version 0.30.0:
|
||||||
|
* Improvements:
|
||||||
|
+ PR #2209: Support Python 3.6.
|
||||||
|
+ PR #2175: Support np.trace(), np.outer() and np.kron().
|
||||||
|
+ PR #2197: Support np.nanprod().
|
||||||
|
+ PR #2190: Support caching for ufunc.
|
||||||
|
+ PR #2186: Add system reporting tool.
|
||||||
|
* Fixes:
|
||||||
|
+ PR #2214, Issue #2212: Fix memory error with ndenumerate and
|
||||||
|
flat iterators.
|
||||||
|
+ PR #2206, Issue #2163: Fix zip() consuming extra elements in
|
||||||
|
early exhaustion.
|
||||||
|
+ PR #2185, Issue #2159, #2169: Fix rewrite pass affecting objmode
|
||||||
|
fallback.
|
||||||
|
+ PR #2204, Issue #2178: Fix annotation for liftedloop.
|
||||||
|
+ PR #2203: Fix Appveyor segfault with Python 3.5.
|
||||||
|
+ PR #2202, Issue #2198: Fix target context not initialized when
|
||||||
|
loading from ufunc cache.
|
||||||
|
+ PR #2172, Issue #2171: Fix optional type unpacking.
|
||||||
|
+ PR #2189, Issue #2188: Disable freezing of big (>1MB) global
|
||||||
|
arrays.
|
||||||
|
+ PR #2180, Issue #2179: Fix invalid variable version in
|
||||||
|
looplifting.
|
||||||
|
+ PR #2156, Issue #2155: Fix divmod, floordiv segfault on CUDA.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 2 21:07:51 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- remove subjective words from description
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 5 17:53:40 UTC 2016 - arun@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.29.0:
|
||||||
|
* Improvements:
|
||||||
|
+ PR #2130, #2137: Add type-inferred recursion with docs and
|
||||||
|
examples.
|
||||||
|
+ PR #2134: Add np.linalg.matrix_power.
|
||||||
|
+ PR #2125: Add np.roots.
|
||||||
|
+ PR #2129: Add np.linalg.{eigvals,eigh,eigvalsh}.
|
||||||
|
+ PR #2126: Add array-to-array broadcasting.
|
||||||
|
+ PR #2069: Add hstack and related functions.
|
||||||
|
+ PR #2128: Allow for vectorizing a jitted function. (thanks to
|
||||||
|
@dhirschfeld)
|
||||||
|
+ PR #2117: Update examples and make them test-able.
|
||||||
|
+ PR #2127: Refactor interpreter class and its results.
|
||||||
|
* Fixes:
|
||||||
|
+ PR #2149: Workaround MSVC9.0 SP1 fmod bug kb982107.
|
||||||
|
+ PR #2145, Issue #2009: Fixes kwargs for jitclass __init__
|
||||||
|
method.
|
||||||
|
+ PR #2150: Fix slowdown in objmode fallback.
|
||||||
|
+ PR #2050, Issue #1258: Fix liveness problem with some generator
|
||||||
|
loops.
|
||||||
|
+ PR #2072, Issue #1995: Right shift of unsigned LHS should be
|
||||||
|
logical.
|
||||||
|
+ PR #2115, Issue #1466: Fix inspect_types() error due to mangled
|
||||||
|
variable name.
|
||||||
|
+ PR #2119, Issue #2118: Fix array type created from record-dtype.
|
||||||
|
+ PR #2122, Issue #1808: Fix returning a generator due to
|
||||||
|
datamodel error.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 23 23:38:02 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
111
python-numba.spec
Normal file
111
python-numba.spec
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-numba
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-numba
|
||||||
|
Version: 0.32.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Compiling Python code using LLVM
|
||||||
|
License: BSD-2-Clause
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: http://numba.github.com
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module llvmlite >= 0.17}
|
||||||
|
BuildRequires: %{python_module numpy-devel >= 1.7}
|
||||||
|
Requires: python-llvmlite >= 0.17
|
||||||
|
Requires: python-numpy >= 1.7
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun): update-alternatives
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Numba is a NumPy-aware optimizing compiler for Python. It uses the
|
||||||
|
LLVM compiler infrastructure to compile Python syntax to
|
||||||
|
machine code.
|
||||||
|
|
||||||
|
It is aware of NumPy arrays as typed memory regions and so can speed-up
|
||||||
|
code using NumPy arrays. Other, less well-typed code will be translated
|
||||||
|
to Python C-API calls, effectively removing the "interpreter", but not removing
|
||||||
|
the dynamic indirection.
|
||||||
|
|
||||||
|
Numba is also not a tracing JIT. It *compiles* your code before it gets
|
||||||
|
run, either using run-time type information or type information you provide
|
||||||
|
in the decorator.
|
||||||
|
|
||||||
|
Numba is a mechanism for producing machine code from Python syntax and typed
|
||||||
|
data structures such as those that exist in NumPy.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for numba applications
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: python-devel
|
||||||
|
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
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/numba
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/pycc
|
||||||
|
|
||||||
|
%post
|
||||||
|
%{python_install_alternative numba pycc}
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%python_uninstall_alternative numba
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS CHANGE_LOG LICENSE README.rst
|
||||||
|
%python_alternative %{_bindir}/numba
|
||||||
|
%python_alternative %{_bindir}/pycc
|
||||||
|
%{python_sitearch}/numba/
|
||||||
|
%{python_sitearch}/numba-%{version}-py*.egg-info
|
||||||
|
%exclude %{python_sitearch}/numba/*.c
|
||||||
|
%exclude %{python_sitearch}/numba/*.h
|
||||||
|
%exclude %{python_sitearch}/numba/*/*.c
|
||||||
|
%exclude %{python_sitearch}/numba/*/*.h
|
||||||
|
|
||||||
|
%files %{python_files devel}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{python_sitearch}/numba/*.c
|
||||||
|
%{python_sitearch}/numba/*.h
|
||||||
|
%{python_sitearch}/numba/*/*.c
|
||||||
|
%{python_sitearch}/numba/*/*.h
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user