Hello community, here is the log from the commit of package python-numexpr for openSUSE:Factory checked in at 2017-05-03 15:55:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numexpr (Old) and /work/SRC/openSUSE:Factory/.python-numexpr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numexpr" Wed May 3 15:55:01 2017 rev:5 rq:489486 version:2.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numexpr/python-numexpr.changes 2016-02-03 10:19:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-numexpr.new/python-numexpr.changes 2017-05-03 15:55:03.722251867 +0200 @@ -1,0 +2,58 @@ +Wed Apr 19 22:13:57 UTC 2017 - [email protected] + +- Source url must be https. + +------------------------------------------------------------------- +Wed Apr 19 18:38:25 UTC 2017 - [email protected] + +- Update to 2.6.2 + * Updates to keep with API changes in newer NumPy versions (#228). + Thanks to Oleksandr Pavlyk. + * Removed several warnings (#226 and #227). Thanks to Oleksander Pavlyk. + * Fix bugs in function `stringcontains()` (#230). Thanks to Alexander Shadchin. + * Detection of the POWER processor (#232). Thanks to Breno Leitao. + * Fix pow result casting (#235). Thanks to Fernando Seiti Furusato. + * Fix integers to negative integer powers (#240). Thanks to Antonio Valentino. + * Detect numpy exceptions in expression evaluation (#240). Thanks to Antonio Valentino. + * Better handling of RC versions (#243). Thanks to Antonio Valentino. +- Update to 2.6.1 + * Fixed a performance regression in some situations as consequence of + increasing too much the BLOCK_SIZE1 constant. After more careful + benchmarks (both in VML and non-VML modes), the value has been set + again to 1024 (down from 8192). The benchmarks have been made with + a relatively new processor (Intel Xeon E3-1245 v5 @ 3.50GHz), so + they should work well for a good range of processors again. + * Added NetBSD support to CPU detection. Thanks to Thomas Klausner. +- Update to 2.6.0 + * Introduced a new re_evaluate() function for re-evaluating the + previous executed array expression without any check. This is meant + for accelerating loops that are re-evaluating the same expression + repeatedly without changing anything else than the operands. If + unsure, use evaluate() which is safer. + * The BLOCK_SIZE1 and BLOCK_SIZE2 constants have been re-checked in + order to find a value maximizing most of the benchmarks in bench/ + directory. The new values (8192 and 16 respectively) give somewhat + better results (~5%) overall. The CPU used for fine tuning is a + relatively new Haswell processor (E3-1240 v3). + * The '--name' flag for `setup.py` returning the name of the package + is honored now (issue #215). +- Update to 2.5.2 + * conj() and abs() actually added as VML-powered functions, preventing + the same problems than log10() before (PR #212). Thanks to Tom Kooij + for the fix! +- Update to 2.5.1 + * Fix for log10() and conj() functions. These produced wrong results + when numexpr was compiled with Intel's MKL (which is a popular build + since Anaconda ships it by default) and non-contiguous data (issue + #210). Thanks to Arne de Laat and Tom Kooij for reporting and + providing a nice test unit. + * Fix that allows numexpr-powered apps to be profiled with pympler. + Thanks to @nbecker. +- Update to 2.5 + * Added locking for allowing the use of numexpr in multi-threaded + callers (this does not prevent numexpr to use multiple cores + simultaneously). (PR #199, Antoine Pitrou, PR #200, Jenn Olsen). + * Added new min() and max() functions (PR #195, CJ Carey). +- Implement single-spec version + +------------------------------------------------------------------- Old: ---- numexpr-2.4.6.tar.gz New: ---- numexpr-2.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numexpr.spec ++++++ --- /var/tmp/diff_new_pack.0Nx41b/_old 2017-05-03 15:55:04.614125956 +0200 +++ /var/tmp/diff_new_pack.0Nx41b/_new 2017-05-03 15:55:04.618125392 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-numexpr # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -16,22 +16,24 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-numexpr -Version: 2.4.6 +Version: 2.6.2 Release: 0 Url: https://github.com/pydata/numexpr/ Summary: Fast numerical expression evaluator for NumPy License: MIT Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ -BuildRequires: python-devel >= 2.5 -BuildRequires: python-numpy-devel >= 1.6 +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module numpy-devel >= 1.6} Requires: python-numpy >= 1.6 -%if 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif +%python_subpackages %description Numexpr is a fast numerical expression evaluator for NumPy. With it, @@ -44,12 +46,14 @@ sed -i '/^#!/ d' numexpr/cpuinfo.py %build -CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} -%files +%files %{python_files} %defattr(-,root,root,-) %doc ANNOUNCE.rst AUTHORS.txt LICENSE.txt README.rst RELEASE_NOTES.rst site.cfg.example %{python_sitearch}/numexpr/ ++++++ numexpr-2.4.6.tar.gz -> numexpr-2.6.2.tar.gz ++++++ ++++ 1682 lines of diff (skipped)
