From 7799339e4c00c273b34d56994db7831de4b0c2867619b7dd5eeccd7891062e5d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 30 Apr 2015 09:50:37 +0000 Subject: [PATCH] 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 --- Bottleneck-0.8.0.tar.gz | 3 --- Bottleneck-1.0.0.tar.gz | 3 +++ python-Bottleneck.changes | 43 +++++++++++++++++++++++++++++++++++++++ python-Bottleneck.spec | 8 ++++---- 4 files changed, 50 insertions(+), 7 deletions(-) delete mode 100644 Bottleneck-0.8.0.tar.gz create mode 100644 Bottleneck-1.0.0.tar.gz diff --git a/Bottleneck-0.8.0.tar.gz b/Bottleneck-0.8.0.tar.gz deleted file mode 100644 index 765040e..0000000 --- a/Bottleneck-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0a980510239f685ebaf4dbc8c9f0e55ac964312e0d11c551208c250d22cc64b -size 1634340 diff --git a/Bottleneck-1.0.0.tar.gz b/Bottleneck-1.0.0.tar.gz new file mode 100644 index 0000000..3668472 --- /dev/null +++ b/Bottleneck-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d9b7ad4fadf9648acc924a6ee522c7cb5b474e75faaad9d90dfd55e2805b495 +size 363223 diff --git a/python-Bottleneck.changes b/python-Bottleneck.changes index 9f2555f..034ed74 100644 --- a/python-Bottleneck.changes +++ b/python-Bottleneck.changes @@ -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 diff --git a/python-Bottleneck.spec b/python-Bottleneck.spec index a7747c6..228ee6a 100644 --- a/python-Bottleneck.spec +++ b/python-Bottleneck.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define modname Bottleneck Name: python-%{modname} -Version: 0.8.0 +Version: 1.0.0 Release: 0 Summary: A collection of fast NumPy array functions 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-numpy-devel >= 1.8 +BuildRequires: python-numpy-devel >= 1.9.1 BuildRequires: python-setuptools -Requires: python-numpy >= 1.8 +Requires: python-numpy >= 1.9.1 %if 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %{py_requires}