From c63829041027413633fd18af4042df78035e641e07e6cb2d2ccd4cba2ea4fb99 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 23 Dec 2018 04:00:53 +0000 Subject: [PATCH] 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 --- numexpr-2.6.8.tar.gz | 3 --- numexpr-2.6.9.tar.gz | 3 +++ python-numexpr.changes | 7 +++++++ python-numexpr.spec | 14 ++++++++++++-- 4 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 numexpr-2.6.8.tar.gz create mode 100644 numexpr-2.6.9.tar.gz diff --git a/numexpr-2.6.8.tar.gz b/numexpr-2.6.8.tar.gz deleted file mode 100644 index 67facd5..0000000 --- a/numexpr-2.6.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee8bc7201aa2f1962c67d27c326a11eef9df887d7b87b1278a1d4e722bf44375 -size 94517 diff --git a/numexpr-2.6.9.tar.gz b/numexpr-2.6.9.tar.gz new file mode 100644 index 0000000..e17456a --- /dev/null +++ b/numexpr-2.6.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc218b777cdbb14fa8cff8f28175ee631bacabbdd41ca34e061325b6c44a6fa6 +size 94419 diff --git a/python-numexpr.changes b/python-numexpr.changes index c3fa478..8bcc0b1 100644 --- a/python-numexpr.changes +++ b/python-numexpr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 22 05:26:03 UTC 2018 - Todd R + +- 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 diff --git a/python-numexpr.spec b/python-numexpr.spec index c85bc4a..4ea9435 100644 --- a/python-numexpr.spec +++ b/python-numexpr.spec @@ -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