Accepting request 690330 from home:pgajdos

- 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

OBS-URL: https://build.opensuse.org/request/show/690330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munkres?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2019-04-01 12:28:29 +00:00 committed by Git OBS Bridge
parent bb472aac18
commit f2bd20f6d5
4 changed files with 25 additions and 6 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Apr 1 08:57:28 UTC 2019 - pgajdos@suse.com
- 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 <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-munkres
#
# Copyright (c) 2018 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
@ -16,9 +16,10 @@
#
%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
@ -26,6 +27,9 @@ Group: Development/Languages/Python
URL: http://software.clapper.org/munkres/
Source: https://github.com/bmc/munkres/archive/release-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module nose}
# /SECTION
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@ -57,8 +61,11 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/mu
chmod -x %{buildroot}%{$python_sitelib}/munkres.py
}
%check
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%license LICENSE
%license LICENSE.md
%doc CHANGELOG.md README.md
%{python_sitelib}/*

View File

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

3
release-1.1.2.tar.gz Normal file
View File

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