Accepting request 660788 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to 2.6.9 * Thanks to Mike Toews for more robust handling of the thread-setting environment variables. * With Appveyor updating to Python 3.7.1, wheels for Python 3.7 are now available in addition to those for other OSes. OBS-URL: https://build.opensuse.org/request/show/660788 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=7
This commit is contained in:
parent
d833fbec74
commit
c638290410
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee8bc7201aa2f1962c67d27c326a11eef9df887d7b87b1278a1d4e722bf44375
|
||||
size 94517
|
3
numexpr-2.6.9.tar.gz
Normal file
3
numexpr-2.6.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc218b777cdbb14fa8cff8f28175ee631bacabbdd41ca34e061325b6c44a6fa6
|
||||
size 94419
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 22 05:26:03 UTC 2018 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Update to 2.6.9
|
||||
* Thanks to Mike Toews for more robust handling of the thread-setting environment variables.
|
||||
* With Appveyor updating to Python 3.7.1, wheels for Python 3.7 are now available in addition to those for other OSes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 2 16:48:00 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -12,13 +12,13 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-numexpr
|
||||
Version: 2.6.8
|
||||
Version: 2.6.9
|
||||
Release: 0
|
||||
Summary: Numerical expression evaluator for NumPy
|
||||
License: MIT
|
||||
@ -42,6 +42,8 @@ calculation in Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n numexpr-%{version}
|
||||
# wrong-file-end-of-line-encoding
|
||||
sed -i 's/\r$//' ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst site.cfg.example
|
||||
# remove unwanted shebang
|
||||
sed -i '/^#!/ d' numexpr/cpuinfo.py
|
||||
|
||||
@ -53,6 +55,14 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
mkdir tester
|
||||
pushd tester
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
$python -B -c "import sys;import numexpr;sys.exit(0 if numexpr.test().wasSuccessful() else 1)"
|
||||
}
|
||||
popd
|
||||
|
||||
%files %{python_files}
|
||||
%doc ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst site.cfg.example
|
||||
%license LICENSE.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user