diff --git a/python-hankel.changes b/python-hankel.changes index 183594a..f1dab1d 100644 --- a/python-hankel.changes +++ b/python-hankel.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Mar 4 13:40:35 UTC 2019 - Tomáš Chvátal + +- Update to 0.3.8: + * Swapped to pytest from nose for all testing + * Removed warnings of overflow for cosh and sinh functions + * Improved documentation in many areas. + * Swapped out default 3.2/h for pi/h, which sounds way cooler :-) + * Fixed an error in tests such that the wrong analytic function was being tested. + * Removed a check for deltaG in get_h, which sometimes fails spectacularly. + * Fixed issue in Py3 in which dim=2 would not run the fast function (thanks @MuellerSeb) + * Added support for transforms with nu=-0.5 (thanks @MuellerSeb) + ------------------------------------------------------------------- Tue Dec 4 12:48:48 UTC 2018 - Matej Cepl diff --git a/python-hankel.spec b/python-hankel.spec index eb67355..4159c0b 100644 --- a/python-hankel.spec +++ b/python-hankel.spec @@ -1,7 +1,7 @@ # # spec file for package python-hankel # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,27 +18,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hankel -Version: 0.3.5 +Version: 0.3.8 Release: 0 Summary: Hankel Transformations using method of Ogata 2005 License: MIT Group: Development/Languages/Python -Url: https://github.com/steven-murray/hankel -Source: https://github.com/steven-murray/hankel/archive/v0.3.5.tar.gz +URL: https://github.com/steven-murray/hankel +Source: https://github.com/steven-murray/hankel/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module mpmath >= 0.18} -BuildRequires: %{python_module nose} -BuildRequires: %{python_module numpy >= 1.6.1} -BuildRequires: %{python_module scipy >= 0.12.0} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-mpmath >= 0.18 Requires: python-numpy >= 1.6.1 Requires: python-scipy >= 0.12.0 BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module mpmath >= 0.18} +BuildRequires: %{python_module numpy >= 1.6.1} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module scipy >= 0.12.0} +BuildRequires: python-future +# /SECTION +%ifpython2 +Requires: python-future +%endif %python_subpackages %description @@ -56,7 +59,7 @@ transformations using the method of Ogata 2005. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec %{_bindir}/nosetests +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v %files %{python_files} %doc README.rst CHANGELOG.rst diff --git a/v0.3.5.tar.gz b/v0.3.5.tar.gz deleted file mode 100644 index 8d88565..0000000 --- a/v0.3.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14f637883339381f28c31d8a3ddd1073a9f82281e1491fdadac7d775c56e59db -size 6461449 diff --git a/v0.3.8.tar.gz b/v0.3.8.tar.gz new file mode 100644 index 0000000..8b8a59d --- /dev/null +++ b/v0.3.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d3055ac006c4960fca16d6aa902312426f87b4cec8b3e26eadeda9b2ef485bd +size 6296681