From ea8ffb227e7c3951badd6e56b1722ed3eea572fb60b4cab6cfeb468532abdfde Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 Jun 2020 11:28:16 +0000 Subject: [PATCH] - update to 0.11: - Added pint-convert script. - Remove `default_en_0.6.txt`. - Make `__str__` and `__format__` locale configurable. (Issue #984) - Quantities wrapping NumPy arrays will no longer warning for the changed array function behavior introduced in 0.10. (Issue #1029, Thanks Jon Thielen) - **BREAKING CHANGE**: The array protocol fallback deprecated in version 0.10 has been removed. (Issue #1029, Thanks Jon Thielen) - Now we use `pyproject.toml` for providing `setuptools_scm` settings - Remove `default_en_0.6.txt` - Reorganize long_description. - Moved Pi to definitions files. - Use ints (not floats) a defaults at many points in the codebase as in Python 3 the true division is the default one. - **BREAKING CHANGE**: Added `from_string` method to all Definitions subclasses. The value/converter argument of the constructor no longer accepts an string. It is unlikely that this change affects the end user. - Added additional NumPy function implementations (allclose, intersect1d) (Issue #979, Thanks Jon Thielen) - Allow constants in units by using a leading underscore (Issue #989, Thanks Juan Nunez-Iglesias) - Fixed bug where to_compact handled prefix units incorrectly (Issue #960) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=12 --- Pint-0.10.1.tar.gz | 3 --- Pint-0.11.tar.gz | 3 +++ python-Pint.changes | 30 ++++++++++++++++++++++++++++++ python-Pint.spec | 5 +++-- 4 files changed, 36 insertions(+), 5 deletions(-) delete mode 100644 Pint-0.10.1.tar.gz create mode 100644 Pint-0.11.tar.gz diff --git a/Pint-0.10.1.tar.gz b/Pint-0.10.1.tar.gz deleted file mode 100644 index 772e653..0000000 --- a/Pint-0.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d739c364b8326fe3d70773d5720fa8b005ea6158695cad042677a588480c86e6 -size 265844 diff --git a/Pint-0.11.tar.gz b/Pint-0.11.tar.gz new file mode 100644 index 0000000..32e8a66 --- /dev/null +++ b/Pint-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d +size 247911 diff --git a/python-Pint.changes b/python-Pint.changes index 0bd8544..1a7b671 100644 --- a/python-Pint.changes +++ b/python-Pint.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Jun 3 11:26:14 UTC 2020 - Dirk Mueller + +- update to 0.11: + - Added pint-convert script. + - Remove `default_en_0.6.txt`. + - Make `__str__` and `__format__` locale configurable. + (Issue #984) + - Quantities wrapping NumPy arrays will no longer warning for the changed + array function behavior introduced in 0.10. + (Issue #1029, Thanks Jon Thielen) + - **BREAKING CHANGE**: + The array protocol fallback deprecated in version 0.10 has been removed. + (Issue #1029, Thanks Jon Thielen) + - Now we use `pyproject.toml` for providing `setuptools_scm` settings + - Remove `default_en_0.6.txt` + - Reorganize long_description. + - Moved Pi to definitions files. + - Use ints (not floats) a defaults at many points in the codebase as in Python 3 + the true division is the default one. + - **BREAKING CHANGE**: + Added `from_string` method to all Definitions subclasses. The value/converter + argument of the constructor no longer accepts an string. + It is unlikely that this change affects the end user. + - Added additional NumPy function implementations (allclose, intersect1d) + (Issue #979, Thanks Jon Thielen) + - Allow constants in units by using a leading underscore (Issue #989, Thanks + Juan Nunez-Iglesias) + - Fixed bug where to_compact handled prefix units incorrectly (Issue #960) + ------------------------------------------------------------------- Fri May 15 08:22:54 UTC 2020 - Tomáš Chvátal diff --git a/python-Pint.spec b/python-Pint.spec index 65f678d..7f0269a 100644 --- a/python-Pint.spec +++ b/python-Pint.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-Pint -Version: 0.10.1 +Version: 0.11 Release: 0 Summary: Physical quantities module License: BSD-3-Clause @@ -68,7 +68,8 @@ the complete list without changing the source code. %files %{python_files} %license LICENSE %doc AUTHORS CHANGES README.rst -%{python_sitelib}/Pint-%{version}-py*.egg-info +%{_bindir}/pint-convert +%{python_sitelib}/Pint-0*-py*.egg-info %{python_sitelib}/pint/ %changelog