Hello community,
here is the log from the commit of package python-munkres for
openSUSE:Leap:15.2 checked in at 2020-02-21 23:48:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-munkres (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-munkres.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-munkres"
Fri Feb 21 23:48:43 2020 rev:11 rq:776821 version:1.1.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-munkres/python-munkres.changes
2020-01-15 15:50:41.159503075 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-munkres.new.26092/python-munkres.changes
2020-02-21 23:48:44.504493754 +0100
@@ -1,0 +2,17 @@
+Mon Apr 1 08:57:28 UTC 2019 - [email protected]
+
+- version update to 1.1.2
+ * Removed `NoReturn` type annotations
+ * Only supports Python 3.5 or better
+ * Added `typing` type hints
+ * simplify conversion of a profit matrix to a cost matrix
+ * Added more tests
+- run the testsuite
+- python3-only package
+
+-------------------------------------------------------------------
+Tue Dec 4 12:50:37 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
Old:
----
release-1.0.9.tar.gz
New:
----
release-1.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-munkres.spec ++++++
--- /var/tmp/diff_new_pack.e4bbvC/_old 2020-02-21 23:48:44.804494351 +0100
+++ /var/tmp/diff_new_pack.e4bbvC/_new 2020-02-21 23:48:44.804494351 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-munkres
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,23 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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/
#
+%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-munkres
-Version: 1.0.9
+Version: 1.1.2
Release: 0
Summary: Munkres implementation for Python
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://software.clapper.org/munkres/
+URL: http://software.clapper.org/munkres/
Source:
https://github.com/bmc/munkres/archive/release-%{version}.tar.gz
-BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+# SECTION test requirements
+BuildRequires: %{python_module nose}
+# /SECTION
BuildRequires: python-rpm-macros
BuildArch: noarch
-
%python_subpackages
%description
@@ -51,10 +54,19 @@
%install
%python_install
+%{python_expand \
+sed -i -e '/^#\/usr\/bin\/env/d' %{buildroot}%{$python_sitelib}/munkres.py
+$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/munkres.py
+$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/munkres.py
+chmod -x %{buildroot}%{$python_sitelib}/munkres.py
+}
+
+%check
+%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGELOG.md LICENSE README.md
+%license LICENSE.md
+%doc CHANGELOG.md README.md
%{python_sitelib}/*
%changelog
++++++ release-1.0.9.tar.gz -> release-1.1.2.tar.gz ++++++
++++ 1650 lines of diff (skipped)