15
0

- update to 1.1.4:

- Switched from Nose to Pytest for testing.
- Fix to Issue #34, in which
  `print_matrix` wasn't handling non-integral values.
- Various changes from `http:` URLs to `https:` URLs
- drop python-munkres-remove-nose.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munkres?expand=0&rev=11
This commit is contained in:
2022-03-26 19:59:45 +00:00
committed by Git OBS Bridge
parent 116c03b45c
commit b8440f624d
4 changed files with 16 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-munkres
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,13 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-munkres
Version: 1.1.2
Version: 1.1.4
Release: 0
Summary: Munkres implementation for Python
License: Apache-2.0
Group: Development/Languages/Python
URL: http://software.clapper.org/munkres/
URL: https://software.clapper.org/munkres/
Source: https://github.com/bmc/munkres/archive/release-%{version}.tar.gz
# https://github.com/bmc/munkres/pull/32
Patch0: python-munkres-remove-nose.patch
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module pytest}
@@ -50,7 +48,6 @@ http://csclab.murraystate.edu/~bob.pilgrim/445/munkres.html.
%prep
%setup -q -n munkres-release-%{version}
%patch0 -p1
%build
%python_build