Hello community,
here is the log from the commit of package python-uncertainties for
openSUSE:Factory checked in at 2017-08-04 11:58:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
and /work/SRC/openSUSE:Factory/.python-uncertainties.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uncertainties"
Fri Aug 4 11:58:43 2017 rev:2 rq:508800 version:3.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2016-04-28 16:58:58.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-uncertainties.new/python-uncertainties.changes
2017-08-04 11:58:51.496046632 +0200
@@ -1,0 +2,8 @@
+Thu Jul 6 15:02:18 UTC 2017 - [email protected]
+
+- update to 3.0.1:
+ See more details at
+ https://pypi.python.org/pypi/uncertainties#version-history
+- convert to singlespec
+
+-------------------------------------------------------------------
Old:
----
uncertainties-2.4.6.tar.gz
New:
----
uncertainties-3.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-uncertainties.spec ++++++
--- /var/tmp/diff_new_pack.yGEkBp/_old 2017-08-04 11:58:52.331928650 +0200
+++ /var/tmp/diff_new_pack.yGEkBp/_new 2017-08-04 11:58:52.359924698 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-uncertainties
#
-# 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,27 +16,26 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-uncertainties
-Version: 2.4.6
+Version: 3.0.1
Release: 0
Summary: Uncertainties on the Quantities Involved (aka "Error
Propagation")
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://pythonhosted.org/uncertainties/
-Source:
https://pypi.python.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: fdupes
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+BuildRequires: python-rpm-macros
%if 0%{?suse_version}
Recommends: python-numpy
%endif
-
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
``uncertainties`` allows **calculations** such as (2 +/- 0.1)*2 = 4 +/-
@@ -47,21 +46,16 @@
The ``uncertainties`` package **takes the pain and complexity out**
of uncertainty calculations.
-
%prep
%setup -q -n uncertainties-%{version}
-mv uncertainties-py26 uncertainties
-# Fix permissions and shebang line(s):
-chmod -x uncertainties/1to2.py
-sed -i '1d' uncertainties/1to2.py uncertainties/lib1to2/test_1to2.py
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%{python_sitelib}/uncertainties/
++++++ uncertainties-2.4.6.tar.gz -> uncertainties-3.0.1.tar.gz ++++++
++++ 28152 lines of diff (skipped)