1
0

Accepting request 304346 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/304346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Bottleneck?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2015-04-30 09:50:37 +00:00 committed by Git OBS Bridge
parent 61fdbea336
commit 7799339e4c
4 changed files with 50 additions and 7 deletions

View File

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

3
Bottleneck-1.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Mon Apr 27 19:23:55 UTC 2015 - benoit.monin@gmx.fr
- update to version 1.0.0:
* "python setup.py build" is 18.7 times faster
* Function-call overhead cut in half---a big speed up for small
input arrays
* Arbitrary ndim input arrays accelerated; previously only 1d,
2d, and 3d
* bn.nanrankdata is twice as fast for float input arrays
* bn.move_max, bn.move_min are faster for int input arrays
* No speed penalty for reducing along all axes when input is
Fortran ordered
* Compiled binaries 14.1 times smaller
* Source tarball 4.7 times smaller
* 9.8 times less C code
* 4.3 times less Cython code
* 3.7 times less Python code
* Requires numpy 1.9.1
* Single API, e.g.: bn.nansum instead of bn.nansum and
nansum_2d_float64_axis0
* On 64-bit systems bn.nansum(int32) returns int32 instead of
int64
* bn.nansum now returns 0 for all NaN slices (as does numpy
1.9.1)
* Reducing over all axes returns, e.g., 6.0; previously
np.float64(6.0)
* bn.ss() now has default axis=None instead of axis=0
* bn.nn() is no longer in bottleneck
* Previous releases had moving window function pairs: move_sum,
move_nansum
* This release only has half of the pairs: move_sum
* Instead a new input parameter, min_count, has been added
* min_count=None same as old move_sum; min_count=1 same as old
move_nansum
* If # non-NaN values in window < min_count, then NaN assigned
to the window
* Exception: move_median does not take min_count as input
* Can now install bottleneck with pip even if numpy is not
already installed
* bn.move_max, bn.move_min now return float32 for float32 input
- increase required numpy version to 1.9.1
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 8 10:58:17 UTC 2014 - toddrme2178@gmail.com Thu May 8 10:58:17 UTC 2014 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-Bottleneck # spec file for package python-Bottleneck
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define modname Bottleneck %define modname Bottleneck
Name: python-%{modname} Name: python-%{modname}
Version: 0.8.0 Version: 1.0.0
Release: 0 Release: 0
Summary: A collection of fast NumPy array functions Summary: A collection of fast NumPy array functions
License: BSD-2-Clause and BSD-3-Clause License: BSD-2-Clause and BSD-3-Clause
@ -27,9 +27,9 @@ Url: http://berkeleyanalytics.com/bottleneck/
Source0: http://pypi.python.org/packages/source/B/Bottleneck/%{modname}-%{version}.tar.gz Source0: http://pypi.python.org/packages/source/B/Bottleneck/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-numpy-devel >= 1.8 BuildRequires: python-numpy-devel >= 1.9.1
BuildRequires: python-setuptools BuildRequires: python-setuptools
Requires: python-numpy >= 1.8 Requires: python-numpy >= 1.9.1
%if 0%{?suse_version} <= 1110 %if 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{py_requires} %{py_requires}