commit python-Pint for openSUSE:Factory
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.000000000 +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 - toddrme2178@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} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description Pint is Python module/package to define, operate and manipulate physical -quantities: the product of a numerical value and a unit of measurement. +quantities, the product of a numerical value and a unit of measurement. It allows arithmetic operations between them and conversions from and to different units. @@ -50,12 +51,18 @@ %setup -q -n Pint-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE README %{python_sitelib}/Pint-%{version}-py*.egg-info ++++++ Pint-0.7.2.tar.gz -> Pint-0.8.1.tar.gz ++++++ ++++ 5740 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de