commit python-Pint for openSUSE:Factory

2020-09-21 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2020-09-21 17:27:25

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.4249 (New)


Package is "python-Pint"

Mon Sep 21 17:27:25 2020 rev:10 rq:835385 version:0.15

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2020-07-08 
19:14:58.491528219 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.4249/python-Pint.changes
2020-09-21 17:34:09.632489274 +0200
@@ -1,0 +2,15 @@
+Fri Sep 18 10:59:40 UTC 2020 - Dirk Mueller 
+
+- update to 0.15:
+  - Change `Quantity` and `Unit` HTML (i.e., Jupyter notebook) repr away from 
LaTeX to a
+simpler, more performant pretty-text and table based repr inspired by 
Sparse and Dask.
+  - Add `case_sensitive` option to registry for case (in)sensitive handling 
when parsing
+  - Implement Dask collection interface to support Pint Quantity wrapped Dask 
arrays.
+  - Started automatically testing examples in the documentation
+  - Fixed an exception generated when reducing dimensions with three or more
+units of the same type
+  - Fixed right operand power for dimensionless Quantity to reflect numpy 
behavior. (Issue #1136)
+  - Eliminated warning when setting a masked value on an underlying 
MaskedArray.
+  - Add `sort` option to `formatting.formatter` to permit disabling sorting of 
component units in format string
+
+---

Old:

  Pint-0.14.tar.gz

New:

  Pint-0.15.tar.gz



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.iNK3yN/_old  2020-09-21 17:34:16.624494344 +0200
+++ /var/tmp/diff_new_pack.iNK3yN/_new  2020-09-21 17:34:16.628494347 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-Pint
-Version:0.14
+Version:0.15
 Release:0
 Summary:Physical quantities module
 License:BSD-3-Clause

++ Pint-0.14.tar.gz -> Pint-0.15.tar.gz ++
 2573 lines of diff (skipped)




commit python-Pint for openSUSE:Factory

2020-07-08 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2020-07-08 19:14:46

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.3060 (New)


Package is "python-Pint"

Wed Jul  8 19:14:46 2020 rev:9 rq:819352 version:0.14

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2020-06-03 
20:36:36.137939885 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.3060/python-Pint.changes
2020-07-08 19:14:58.491528219 +0200
@@ -1,0 +2,47 @@
+Tue Jul  7 10:45:45 UTC 2020 - Marketa Calabkova 
+
+- update to 0.14
+  * Changes required to support Pint-Pandas 0.1.
+  * Reinstated support for pickle protocol 0 and 1, which is required by 
pytables
+(Issue #1036, Thanks Guido Imperiale)
+  * Fixed bug with multiplication of Quantity by dict (Issue #1032)
+  * Bare zeros and NaNs (not wrapped by Quantity) are now gracefully accepted 
by all numpy
+operations; e.g. np.stack([Quantity([1, 2], "m"), [0, np.nan]) is now 
valid, whereas
+np.stack([Quantity([1, 2], "m"), [3, 4]) will continue raising 
DimensionalityError.
+(Issue #1050, Thanks Guido Imperiale)
+  * NaN is now treated the same as zero in addition, subtraction, equality, and
+disequality (Issue #1051, Thanks Guido Imperiale)
+  * Fixed issue where quantities with a very large magnitude would throw an 
IndexError
+when using to_compact()
+  * Fixed crash when a Unit with prefix is declared for the first time while a 
Context
+containing unit redefinitions is active
+(Issues #1062 and #1097, Thanks Guido Imperiale)
+  * New implementation of 'Lx' String Format Type Option
+The old implementation treated 'Lx' as 'S' as produced by 'uncertainties'
+package, but that is not fully compatible with SIunitx. The new code 
protects
+SIunitx by fixing what unceratinties produces.
+(Issue #814)
+  * Added link to budding `pint-xarray` interface library to the docs, next to
+the link to pint*pandas. (Thanks Tom Nicholas.)
+  * Removed outdated `_dir` attribute of `UnitsRegistry`, and added `__iter__`
+method so that now `list(ureg)` returns a list of all units in registry.
+(Issue #1072, Thanks Tom Nicholas)
+  * Replace pkg_resources.version to importlib.metadata.version. (Issue #1083)
+  * Fix typo in docs for wraps example with optional arguments. (Issue #1088)
+  * Add momentum as a dimension
+  * Fixed a bug where unit exponents were only partially superscripted in HTML 
format
+  * Multiple contexts containing the same redefinition can now be stacked
+(Issue #1108, Thanks Guido Imperiale)
+  * Fixed crash when some specific combinations of contexts were enabled
+(Issue #1112, Thanks Guido Imperiale)
+  * Added support for checking prefixed units using `in` keyword (Issue #1086)
+  * Updated many examples in the documentation to reflect Pint's current 
behavior
+  * Add full support for Decimal and Fraction at the registry level.
+**BREAKING CHANGE**:
+`use_decimal` is deprecated. Use `non_int_type=Decimal` when instantiating
+the registry.
+  * Fixed bug where numpy.pad didn't work without specifying constant_values or
+end_values (Issue #1026)
+
+
+---

Old:

  Pint-0.11.tar.gz

New:

  Pint-0.14.tar.gz



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.hlYc40/_old  2020-07-08 19:15:01.219537935 +0200
+++ /var/tmp/diff_new_pack.hlYc40/_new  2020-07-08 19:15:01.223537949 +0200
@@ -19,24 +19,27 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-Pint
-Version:0.11
+Version:0.14
 Release:0
 Summary:Physical quantities module
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/hgrecco/pint
 Source: 
https://files.pythonhosted.org/packages/source/P/Pint/Pint-%{version}.tar.gz
-BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module uncertainties}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-uncertainties
+Requires:   python-importlib-metadata
+Requires:   python-packaging
+Requires:   python-uncertainties >= 3.0
 Recommends: python-numpy
 BuildArch:  noarch
 # SECTION test requirements
+BuildRequires:  %{python_module importlib-metadata}
+BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pytest >= 4.0}

commit python-Pint for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2020-06-03 20:36:01

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.3606 (New)


Package is "python-Pint"

Wed Jun  3 20:36:01 2020 rev:8 rq:811107 version:0.11

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2020-05-15 
23:52:14.817536088 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.3606/python-Pint.changes
2020-06-03 20:36:36.137939885 +0200
@@ -1,0 +2,30 @@
+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)
+
+---

Old:

  Pint-0.10.1.tar.gz

New:

  Pint-0.11.tar.gz



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.6vdoeh/_old  2020-06-03 20:36:37.041942719 +0200
+++ /var/tmp/diff_new_pack.6vdoeh/_new  2020-06-03 20:36:37.041942719 +0200
@@ -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 @@
 %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

++ Pint-0.10.1.tar.gz -> Pint-0.11.tar.gz ++
 3954 lines of diff (skipped)




commit python-Pint for openSUSE:Factory

2020-05-15 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2020-05-15 23:52:13

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.2738 (New)


Package is "python-Pint"

Fri May 15 23:52:13 2020 rev:7 rq:805763 version:0.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2020-04-21 
13:09:54.724721912 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.2738/python-Pint.changes
2020-05-15 23:52:14.817536088 +0200
@@ -1,0 +2,5 @@
+Fri May 15 08:22:54 UTC 2020 - Tomáš Chvátal 
+
+- Package requires pytest 4.x or newer
+
+---



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.1Zyhjd/_old  2020-05-15 23:52:16.117538594 +0200
+++ /var/tmp/diff_new_pack.1Zyhjd/_new  2020-05-15 23:52:16.121538602 +0200
@@ -36,7 +36,7 @@
 Recommends: python-numpy
 BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest >= 4.0}
 # /SECTION
 %python_subpackages
 




commit python-Pint for openSUSE:Factory

2020-04-21 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2020-04-21 13:09:51

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.2738 (New)


Package is "python-Pint"

Tue Apr 21 13:09:51 2020 rev:6 rq:795783 version:0.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2020-02-03 
11:13:03.413837004 +0100
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.2738/python-Pint.changes
2020-04-21 13:09:54.724721912 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 10:55:43 UTC 2020 - Tomáš Chvátal 
+
+- Remove py2 dep as the package is marked as python3 only
+
+---



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.io6cRp/_old  2020-04-21 13:09:55.548723555 +0200
+++ /var/tmp/diff_new_pack.io6cRp/_new  2020-04-21 13:09:55.548723555 +0200
@@ -27,18 +27,17 @@
 URL:https://github.com/hgrecco/pint
 Source: 
https://files.pythonhosted.org/packages/source/P/Pint/Pint-%{version}.tar.gz
 BuildRequires:  %{python_module numpy}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module uncertainties}
 BuildRequires:  fdupes
-BuildRequires:  python-funcsigs
 BuildRequires:  python-rpm-macros
 Requires:   python-uncertainties
 Recommends: python-numpy
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
 # /SECTION
-BuildArch:  noarch
 %python_subpackages
 
 %description




commit python-Pint for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2020-02-03 11:12:47

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.26092 (New)


Package is "python-Pint"

Mon Feb  3 11:12:47 2020 rev:5 rq:768794 version:0.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2019-04-01 
12:39:20.725943172 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.26092/python-Pint.changes   
2020-02-03 11:13:03.413837004 +0100
@@ -1,0 +2,115 @@
+Thu Jan 30 15:13:22 UTC 2020 - Todd R 
+
+- Update to 0.10.1
+  * Fixed bug introduced in 0.10 that prevented creation of size-zero 
Quantities
+from NumPy arrays by multiplication.
+  * Fixed several Sphinx issues. Fixed intersphinx hooks to all classes 
missing.
+  * Fixed __array__ signature to match numpy docs
+- Update to 0.10
+  * **BREAKING CHANGE**:
+Boolean value of Quantities with offsets units is ambiguous, and so, now a 
ValueError
+is raised when attempting to cast such a Quantity to boolean.
+  * **BREAKING CHANGE**:
+`__array_ufunc__` has been implemented on `pint.Unit` to permit
+multiplication/division by units on the right of ufunc-reliant array types 
(like
+Sparse) with proper respect for the type casting hierarchy. However, until 
an
+upstream issue with NumPy is resolved,
+this breaks creation of Masked Array Quantities by multiplication on the 
right.
+  * Documentation on Pint's array type compatibility has been added to the 
NumPy support
+page, including a graph of the duck array type casting hierarchy as 
understood by Pint
+for N-dimensional arrays.
+  * Improved compatibility for downcast duck array types like Sparse.COO. A 
collection
+of basic tests has been added.
+  * Improvements to wraps and check:
+>  fail upon decoration (not execution) by checking wrapped function 
signature against
+  wraps/check arguments.
+  (might BREAK test code)
+>  wraps only accepts strings and Units (not quantities) to avoid 
confusion with magnitude.
+  (might BREAK code not conforming to documentation)
+>  when strict=True, strings that can be parsed to quantities are accepted 
as arguments.
+  * Add revolutions per second (rps)
+  * Improved compatibility for upcast types like xarray's DataArray or 
Dataset, to which
+Pint Quantities now fully defer for arithmetic and NumPy operations. A 
collection of
+basic tests for proper deferral has been added (for full integration 
tests, see
+xarray's test suite). The list of upcast types is available at
+`pint.compat.upcast_types` in the API.
+  * Moved docstrings to Numpy Docs
+  * Added tests for immutability of the magnitude's type under common 
operations
+  * Switched test configuration to pytest and added tests of Pint's matplotlib 
support.
+  * Deprecate array protocol fallback except where explicitly defined 
(`__array__`,
+`__array_priority__`, `__array_function__`, `__array_ufunc__`). The 
fallback will
+remain until the next minor version, or if the environment variable
+`PINT_ARRAY_PROTOCOL_FALLBACK` is set to 0.
+  * Removed eval usage when creating UnitDefinition and PrefixDefinition from 
string.
+  * Added `fmt_locale` argument to registry.
+  * Better error message when Babel is not installed.
+  * It is now possible to redefine units within a context, and use pint for 
currency
+conversions.
+  * NaN (any capitalization) in a definitions file is now treated as a number
+  * Added slinch to Avoirdupois group
+  * Fix bug where ureg.disable_contexts() would fail to fully disable 
throwaway contexts
+  * Use black, flake8, and isort on the project
+  * Auto-increase package version at every commit when pint is installed from 
the git tip,
+e.g. pip install git+https://github.com/hgrecco/pint.git.
+  * Fix HTML (Jupyter Notebook) and LateX representation of some units
+  * Fixed the definition of RKM unit as gf / tex
+  * **BREAKING CHANGE**:
+Implement NEP-18 
 for
+Pint Quantities. Most NumPy functions that previously stripped units when 
applied to
+Pint Quantities will now return Quantities with proper units (on NumPy 
v1.16 with
+the array_function protocol enabled or v1.17+ by default) instead of 
ndarrays. Any
+non-explictly-handled functions will now raise a "no implementation found" 
TypeError
+instead of stripping units. The previous behavior is maintained for NumPy 
< v1.16 and
+when the array_function protocol is disabled.
+  * Implementation of NumPy ufuncs has been refactored to share common 
utilities with
+NumPy function implementations
+  * Pint Quantities now support the `@` matrix 

commit python-Pint for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2019-04-01 12:39:16

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new.25356 (New)


Package is "python-Pint"

Mon Apr  1 12:39:16 2019 rev:4 rq:690080 version:0.9

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2017-08-29 
11:43:59.981008352 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new.25356/python-Pint.changes   
2019-04-01 12:39:20.725943172 +0200
@@ -1,0 +2,40 @@
+Sat Mar 30 19:36:35 UTC 2019 - Tomáš Chvátal 
+
+- Fix funcsigs dependency
+- Remove unused devel package dep
+- Remove test bconds
+
+---
+Tue Mar 12 18:21:59 CET 2019 - Matej Cepl 
+
+- Update to version 0.9:
+  - Add support for registering with matplotlib’s unit handling
+(gh#hgrecco/pint#317, thanks dopplershift)
+  - Add converters for matplotlib’s unit support.
+(gh#hgrecco/pint#317, thanks Ryan May)
+  - Fix unwanted side effects in auto dimensionality reduction.
+(gh#hgrecco/pint#516, thanks Ben Loer)
+  - Allow dimensionality check for non Quantity arguments.
+  - Make Quantity and UnitContainer objects hashable.
+(gh#hgrecco/pint#286, thanks Nevada Sanchez)
+  - Fix unit tests errors with numpy >=1.13.
+(gh#hgrecco/pint#577, thanks cpascual)
+  - Avoid error in in-place exponentiation with numpy > 1.11.
+(gh#hgrecco/pint#577, thanks cpascual)
+  - fix compatible units in context. (thanks enrico)
+  - Added warning for unsupported ufunc. (gh#hgrecco/pint#626,
+thanks kanhua)
+  - Improve IPython pretty printers. (gh#hgrecco/pint#590, thanks
+tecki)
+  - Drop Support for Python 2.6, 3.0, 3.1 and 3.2.
+(gh#hgrecco/pint#567)
+  - Prepare for deprecation announced in Python 3.7
+(gh#hgrecco/pint#747, thanks Simon Willison)
+  - Added several new units and Systems (gh#hgrecco/pint#749,
+gh#hgrecco/pint#737)
+  - Started experimental pandas support (gh#hgrecco/pint#746 and
+others. Thanks andrewgsavage, znicholls and others)
+  - wraps and checks now supports kwargs and defaults.
+(gh#hgrecco/pint#660, thanks jondoesntgit)
+
+---

Old:

  Pint-0.8.1.tar.gz

New:

  Pint-0.9.tar.gz



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.7QnrjD/_old  2019-04-01 12:39:21.353943476 +0200
+++ /var/tmp/diff_new_pack.7QnrjD/_new  2019-04-01 12:39:21.365943482 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Pint
 #
-# Copyright (c) 2017 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,29 +12,28 @@
 # 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-%{**}}
-%bcond_without  test
 Name:   python-Pint
-Version:0.8.1
+Version:0.9
 Release:0
 Summary:Physical quantities module
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/hgrecco/pint
+URL:https://github.com/hgrecco/pint
 Source: 
https://files.pythonhosted.org/packages/source/P/Pint/Pint-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module uncertainties}
 BuildRequires:  fdupes
+BuildRequires:  python-funcsigs
 BuildRequires:  python-rpm-macros
 Requires:   python-uncertainties
 Recommends: python-numpy
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -57,14 +56,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
 %python_exec setup.py test
-%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS CHANGES LICENSE README
+%license LICENSE
+%doc AUTHORS CHANGES README
 %{python_sitelib}/Pint-%{version}-py*.egg-info
 %{python_sitelib}/pint/
 

++ Pint-0.8.1.tar.gz -> Pint-0.9.tar.gz ++
 3687 lines of diff (skipped)




commit python-Pint for openSUSE:Factory

2017-08-29 Thread root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2017-08-29 11:43:58

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new (New)


Package is "python-Pint"

Tue Aug 29 11:43:58 2017 rev:3 rq:518563 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2016-06-07 
23:49:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new/python-Pint.changes 
2017-08-29 11:43:59.981008352 +0200
@@ -1,0 +2,37 @@
+Wed Aug 23 22:41:06 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- Update to version 0.8.1
+  * Add support for datetime math. (Issue #510, thanks robertd)
+  * Fixed _repr_html_ in Python 2.7. (Issue #512)
+  * Implemented BaseRegistry.auto_reduce_dimensions. (Issue #500, thanks 
robertd)
+  * Fixed dimension compatibility bug introduced on Registry refactoring 
(Issue #523, thanks dalito)
+- Update to version 0.8
+  * Refactored the Registry in multiple classes for better separation of 
concerns and clarity.
+  * Implemented support for defining multiple units per define call (one 
definition per line). (Issue #462)
+  * In pow and ipow, allow array exponents (with len > 1) when base is 
dimensionless. (Issue #483)
+  * Wraps now gets the canonical name of the unit when passed as string. 
(Issue #468)
+  * NumPy exp and log keeps the type (Issue #95)
+  * Implemented a function decorator to ensure that a context is active 
(with_context) (Issue #465)
+  * Add warning when a System contains an unknown Group. (Issue #472)
+  * Add conda-forge installation snippet. (Issue #485, thanks stadelmanma)
+  * Properly support floor division and modulo. (Issue #474, thanks tecki)
+  * Measurement Correlated variable fix. (Issue #463, thanks tadhgmister)
+  * Implement degree sign handling. (Issue #449, thanks iamthad)
+  * Change UndefinedUnitError to inherit from AttributeError (Issue #480, 
thanks jhidding)
+  * Simplified travis for faster testing.
+  * Fixed order units in siunitx formatting. (Issue #441)
+  * Changed Systems lister to return a list instead of frozenset. (Issue #425, 
thanks GloriaVictis)
+  * Fixed issue with negative values in to_compact() method. (Issue #443, 
thanks nowox)
+  * Improved defintions. (Issues #448, thanks gdonval)
+  * Improved Parser to support capital “E” on scientific notation. (Issue 
#390, thanks javenoneal)
+  * Make sure that prefixed units are defined on the registry when unplicking. 
(Issue #405)
+  * Automatic unit names translation through babel. (Issue #338, thanks 
alexbodn)
+  * Support pickling Unit objects. (Issue #349)
+  * Add support for wavenumber/kayser in spectroscopy context. (Issue #321, 
thanks gerritholl)
+  * Improved formatting. (thanks endolith and others)
+  * Add support for inline comments in definitions file. (Issue #366)
+  * Implement Unit.__deepcopy__. (Issue #357, thanks noahl)
+  * Allow changing shape for Quantities with numpy arrays. (Issue #344, thanks 
tecki)
+
+---

Old:

  Pint-0.7.2.tar.gz

New:

  Pint-0.8.1.tar.gz



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.XJ9WTw/_old  2017-08-29 11:44:01.028860636 +0200
+++ /var/tmp/diff_new_pack.XJ9WTw/_new  2017-08-29 11:44:01.040858945 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Pint
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,29 +16,30 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without  test
 Name:   python-Pint
-Version:0.7.2
+Version:0.8.1
 Release:0
 Summary:Physical quantities module
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/hgrecco/pint
-Source: https://pypi.io/packages/source/P/Pint/Pint-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-uncertainties
+Source: 
https://files.pythonhosted.org/packages/source/P/Pint/Pint-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module uncertainties}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-uncertainties
 Recommends: python-numpy
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 

commit python-Pint for openSUSE:Factory

2016-06-07 Thread h_root
Hello community,

here is the log from the commit of package python-Pint for openSUSE:Factory 
checked in at 2016-06-07 23:49:21

Comparing /work/SRC/openSUSE:Factory/python-Pint (Old)
 and  /work/SRC/openSUSE:Factory/.python-Pint.new (New)


Package is "python-Pint"

Changes:

--- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes  2016-04-28 
16:56:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pint.new/python-Pint.changes 
2016-06-07 23:49:22.0 +0200
@@ -1,0 +2,39 @@
+Fri Jun  3 15:47:46 UTC 2016 - tbecht...@suse.com
+
+- update to 0.7.2:
+  - Fixed backward incompatibility problem when parsing dimensionless units.
+  - Use NIST as source for most of the unit information.
+  - Added message to assertQuantityEqual.
+  - Added detection of circular dependencies in definitions.
+  - Added Systems and groups.
+  - Implemented references for wraps decorator.
+  - Added check decorator to UnitRegistry.
+  - Added compact conversion.
+  - Added compact formating code.
+  - New Unit Class.
+  - Refactor UnitRegistry.
+  - Move definitions, errors, and converters into their own modules.
+  - UnitsContainer is now immutable
+  - New parser and evaluator.
+  - Added support for Unicode identifiers.
+  - Added m_as as way top retrieve the magnitude in different units.
+  - Added Short form for magnitude and units.
+  - Improved deepcopy.
+  - Improved testing infrastructure.
+  - Improved docs.
+  - Fixed short names on electron_volt and hartree.
+  - Fixed definitions of scruple and drachm.
+  - Fixed troy ounce to 480 'grains'.
+  - Added 'quad' as a unit of energy (= 10**15 Btu).
+  - Added "hectare" as a supported unit of area and 'ha' as the symbol for 
hectare.
+  - Added peak sun hour and Langley.
+  - Added photometric units: lumen & lux.
+  - A fraction magnitude quantity is conserved
+  - Improved conversion performance by removing unnecessart try/except.
+  - Added to_tuple and from_tuple to facilitate serialization.
+  - Fixed support for NumPy 1.10 due to a change in the Default casting rule
+  - Infrastructure: Added doctesting.
+  - Infrastructure: Better way to specify exclude matrix in travis.
+- Use gzip tarball instead of zip
+
+---

Old:

  Pint-0.6.zip

New:

  Pint-0.7.2.tar.gz



Other differences:
--
++ python-Pint.spec ++
--- /var/tmp/diff_new_pack.28Wyzp/_old  2016-06-07 23:49:23.0 +0200
+++ /var/tmp/diff_new_pack.28Wyzp/_new  2016-06-07 23:49:23.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Pint
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,17 +17,16 @@
 
 
 Name:   python-Pint
-Version:0.6
+Version:0.7.2
 Release:0
 Summary:Physical quantities module
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/hgrecco/pint
-Source: 
https://pypi.python.org/packages/source/P/Pint/Pint-%{version}.zip
+Source: https://pypi.io/packages/source/P/Pint/Pint-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-uncertainties
-BuildRequires:  unzip
 Requires:   python-uncertainties
 Recommends: python-numpy
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build