Hello community,
here is the log from the commit of package python-python-stdnum for
openSUSE:Factory checked in at 2017-07-05 23:56:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-stdnum (Old)
and /work/SRC/openSUSE:Factory/.python-python-stdnum.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-stdnum"
Wed Jul 5 23:56:16 2017 rev:3 rq:507101 version:1.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-stdnum/python-python-stdnum.changes
2016-09-24 15:29:20.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-stdnum.new/python-python-stdnum.changes
2017-07-05 23:56:17.298405165 +0200
@@ -1,0 +2,10 @@
+Thu Jun 29 14:59:41 UTC 2017 - [email protected]
+
+- convert to singlespec
+- enable tests
+- update to 1.6
+ * support more number formats
+ * many bugs fixed
+ * extended test suite
+
+-------------------------------------------------------------------
Old:
----
python-stdnum-1.3.tar.gz
New:
----
python-stdnum-1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-stdnum.spec ++++++
--- /var/tmp/diff_new_pack.sP3RcO/_old 2017-07-05 23:56:18.270268264 +0200
+++ /var/tmp/diff_new_pack.sP3RcO/_new 2017-07-05 23:56:18.270268264 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-stdnum
#
-# 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,22 +16,26 @@
#
-%define base_name python-stdnum
-
-Name: python-%{base_name}
-Version: 1.3
+%define modname python-stdnum
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+Name: python-%{modname}
+Version: 1.6
Release: 0
Summary: Python module to handle standardized numbers and codes
License: LGPL-2.0+
Group: Development/Languages/Python
Url: http://arthurdejong.org/python-stdnum/
-Source:
https://files.pythonhosted.org/packages/21/9b/5ff5aeb1f41a23cbbfec6b4a7852c9fec6c904c34bba0b5f905da1702809/%{base_name}-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+Source:
https://files.pythonhosted.org/packages/source/p/python-stdnum/%{modname}-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Suggests: python-PySimpleSOAP
Suggests: python-suds
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+%python_subpackages
%description
This library offers functions for parsing, validating and reformatting
@@ -41,15 +45,20 @@
parsing, validation, formatting or conversion functions.
%prep
-%setup -q -n %{base_name}-%{version}
+%setup -q -n %{modname}-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%fdupes %{buildroot}%{_prefix}
+
+%check
+export LANG=en_US.UTF-8
+%python_exec -m nose
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc NEWS ChangeLog README COPYING
%{python_sitelib}/*
++++++ python-stdnum-1.3.tar.gz -> python-stdnum-1.6.tar.gz ++++++
++++ 34189 lines of diff (skipped)