Accepting request 662731 from devel:languages:python:numeric

- Update to 1.22
  * add horsepower_imperial and horsepower_metric
  * update all values to CODATA as of July 2018.

OBS-URL: https://build.opensuse.org/request/show/662731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numericalunits?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-01-05 13:42:25 +00:00 committed by Git OBS Bridge
parent 3e9514362b
commit 3a0b144e71
5 changed files with 17 additions and 17 deletions

View File

@ -1,7 +0,0 @@
Copyright © 2012 Steven Byrnes
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6e519e534ae37daf9db8c81075f40e0e1f1bbf6786768fdda35fd7d25a837be
size 18095

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76c95de0a72fed26e40758bb45b610610abc0102770620c749b3222dc55a63e3
size 13065

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Dec 22 02:03:50 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Update to 1.22
* add horsepower_imperial and horsepower_metric
* update all values to CODATA as of July 2018.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 10 23:50:31 UTC 2018 - jengelh@inai.de Sun Jun 10 23:50:31 UTC 2018 - jengelh@inai.de

View File

@ -12,20 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-numericalunits Name: python-numericalunits
Version: 1.21 Version: 1.22
Release: 0 Release: 0
Summary: Python module for defining quantities with units Summary: Python module for defining quantities with units
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/numericalunits Url: http://pypi.python.org/pypi/numericalunits
Source: https://files.pythonhosted.org/packages/3.6/n/numericalunits/numericalunits-%{version}-py2.py3-none-any.whl Source: https://files.pythonhosted.org/packages/py2.py3/n/numericalunits/numericalunits-%{version}-py2.py3-none-any.whl
Source10: https://raw.githubusercontent.com/sbyrnes321/numericalunits/8a6d263c80db726989eaf7b67a1661456746d6db/LICENSE.txt
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
@ -46,7 +45,6 @@ way with unique advantages:
%prep %prep
%setup -T -c -n numericalunits-%{version} %setup -T -c -n numericalunits-%{version}
cp %{SOURCE10} .
%build %build
# Not needed # Not needed
@ -59,7 +57,9 @@ cp %{SOURCE10} .
# todo # todo
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license %{python_sitelib}/numericalunits-%{version}.dist-info/LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/numericalunits-%{version}.dist-info/
%{python_sitelib}/numericalunits.py*
%pycache_only %{python_sitelib}/__pycache__/numericalunits.*
%changelog %changelog