Accepting request 306667 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/306667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2015-05-15 05:43:52 +00:00 committed by Git OBS Bridge
parent ee0eb1187e
commit 1eff0ae095
4 changed files with 33 additions and 11 deletions

3
numexpr-2.4.3.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu May 7 18:37:17 UTC 2015 - benoit.monin@gmx.fr
- update to version 2.4.3:
* Comparisons with empty strings work correctly now. Fixes #121
and PyTables #184.
- additional changes from version 2.4.2:
* Improved setup.py so that pip can query the name and version
without actually doing the installation. Thanks to Joris
Borgdorff.
- additional changes from version 2.4.1:
* Added more configuration examples for compiling with MKL/VML
support. Thanks to Davide Del Vento.
* Symbol MKL_VML changed into MKL_DOMAIN_VML because the former
is deprecated in newer MKL. Thanks to Nick Papior Andersen.
* Better determination of methods in cpuinfo module. Thanks to
Marc Jofre.
* Improved NumPy version determination (handy for 1.10.0). Thanks
to Åsmund Hjulstad.
* Benchmarks run now with both Python 2 and Python 3. Thanks to
Zoran Plesivčak.
- remove shebang of cpuinfo.py instead of setting it executable
- remove unneeded clean section
-------------------------------------------------------------------
Thu May 8 10:51:51 UTC 2014 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-numexpr
#
# 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
@ -11,13 +11,14 @@
# 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/
#
%define modname numexpr
Name: python-%{modname}
Version: 2.4
Version: 2.4.3
Release: 0
Url: https://github.com/pydata/numexpr/
Summary: Fast numerical expression evaluator for NumPy
@ -35,7 +36,6 @@ Requires: python-numpy >= 1.6
Requires: python(abi) >= %{py_ver}
%endif
%description
Numexpr is a fast numerical expression evaluator for NumPy. With it,
expressions that operate on arrays (like "3*a+4*b") are accelerated
@ -43,16 +43,14 @@ and use less memory than doing the same calculation in Python.
%prep
%setup -q -n %{modname}-%{version}
# remove unwanted shebang
sed -i '/^#!/ d' numexpr/cpuinfo.py
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
chmod a+x %{buildroot}%{python_sitearch}/%{modname}/cpuinfo.py
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)