diff --git a/python-quicktions.changes b/python-quicktions.changes index 3fc4600..1b5bfe0 100644 --- a/python-quicktions.changes +++ b/python-quicktions.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue May 14 18:27:23 UTC 2019 - John Jolly + +- Update to 1.9 + + Substantially faster normalisation (and therefore instantiation) + in Py3.5+. + + // (floordiv) now follows the expected rounding behaviour when used + with floats (by converting to float first), and is much faster for + integer operations. + + Fix return type of divmod(), where the first item should be an integer. + + Further speed up mod and divmod operations. +- Update to 1.8 + + Faster mod and divmod calculation. +- Update to 1.7 + + Faster normalisation and fraction string parsing. + + Add support for Python 3.7. + + Built using Cython 0.29. +- Changed %check to use %pytest_arch + ------------------------------------------------------------------- Fri Jun 15 20:40:25 UTC 2018 - toddrme2178@gmail.com diff --git a/python-quicktions.spec b/python-quicktions.spec index 9332e01..8c7ad81 100644 --- a/python-quicktions.spec +++ b/python-quicktions.spec @@ -1,7 +1,7 @@ # # spec file for package python-quicktions # -# 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 @@ -12,17 +12,18 @@ # 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-quicktions -Version: 1.6 +Version: 1.9 Release: 0 -License: Python-2.0 Summary: Fast fractions data type for rational numbers -Url: https://github.com/scoder/quicktions +License: Python-2.0 Group: Development/Languages/Python +Url: https://github.com/scoder/quicktions Source: https://files.pythonhosted.org/packages/source/q/quicktions/quicktions-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} @@ -62,10 +63,8 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%{python_expand export PYTHONDONTWRITEBYTECODE=1 -export PYTHONPATH=%{buildroot}%{$python_sitearch} -py.test-%{$python_bin_suffix} src/test_fractions.py --capture=no --strict -} +export PYTHONDONTWRITEBYTECODE=1 +%pytest_arch --capture=no %files %{python_files} %doc CHANGES.rst README.rst diff --git a/quicktions-1.6.tar.gz b/quicktions-1.6.tar.gz deleted file mode 100644 index 69d1362..0000000 --- a/quicktions-1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb545e2ad561ae25d5b7c672008137c59af42bea4a8720b75556a7d2baa2e8aa -size 201962 diff --git a/quicktions-1.9.tar.gz b/quicktions-1.9.tar.gz new file mode 100644 index 0000000..c546cd9 --- /dev/null +++ b/quicktions-1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef0c10dc4a89b9885d7f805a700fbfc129b9583658a9444f8c2c560290b29bd0 +size 218674