1
0

Accepting request 633740 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/633740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uncertainties?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-09-07 13:41:41 +00:00 committed by Git OBS Bridge
parent 80c8b991b2
commit 03b2fc1a8c
4 changed files with 30 additions and 19 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Sep 6 12:52:28 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim non-RPM markup from description. Ensure neutrality of
description.
-------------------------------------------------------------------
Wed Sep 5 03:56:06 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* remove devel from noarch
- update to version 3.0.2:
* This update contains only documentation updates (and new or
updated code comments). Added explicit information on NaN
handling.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 6 15:02:18 UTC 2017 - tbechtold@suse.com Thu Jul 6 15:02:18 UTC 2017 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-uncertainties # spec file for package python-uncertainties
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,33 +18,26 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-uncertainties Name: python-uncertainties
Version: 3.0.1 Version: 3.0.2
Release: 0 Release: 0
Summary: Uncertainties on the Quantities Involved (aka "Error Propagation") Summary: Uncertainties on the Quantities Involved (aka "Error Propagation")
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://pythonhosted.org/uncertainties/ URL: http://pythonhosted.org/uncertainties/
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: python-numpy Recommends: python-numpy
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
``uncertainties`` allows **calculations** such as (2 +/- 0.1)*2 = 4 +/- "uncertainties" allows calculations such as (2±0.1)*2 = 4±0.2 to be
0.2 to be **performed transparently**. Much more complex mathematical performed transparently. Much more complex mathematical expressions
expressions involving numbers with uncertainties can also be evaluated involving numbers with uncertainties can also be evaluated directly.
directly.
The ``uncertainties`` package **takes the pain and complexity out**
of uncertainty calculations.
%prep %prep
%setup -q -n uncertainties-%{version} %setup -q -n uncertainties-%{version}
@ -56,8 +49,8 @@ of uncertainty calculations.
%python_install %python_install
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE.txt
%doc LICENSE.txt README.rst %doc README.rst
%{python_sitelib}/uncertainties/ %{python_sitelib}/uncertainties/
%{python_sitelib}/uncertainties-%{version}-py*.egg-info %{python_sitelib}/uncertainties-%{version}-py*.egg-info

View File

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

View File

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