forked from pool/python-munkres
Accepting request 690331 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/690331 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munkres?expand=0&rev=3
This commit is contained in:
commit
8c2b2a2f4d
@ -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>
|
Tue Dec 4 12:50:37 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-munkres
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-munkres
|
Name: python-munkres
|
||||||
Version: 1.0.9
|
Version: 1.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Munkres implementation for Python
|
Summary: Munkres implementation for Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -26,6 +27,9 @@ 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
|
Source: https://github.com/bmc/munkres/archive/release-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
# /SECTION
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -57,8 +61,11 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/mu
|
|||||||
chmod -x %{buildroot}%{$python_sitelib}/munkres.py
|
chmod -x %{buildroot}%{$python_sitelib}/munkres.py
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_expand nosetests-%{$python_bin_suffix}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE.md
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
@ -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
3
release-1.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0a25570d1498d4ce86b6ed151f3afa1da7318deac56db25100ccbdb9b12625c3
|
||||||
|
size 11186
|
Loading…
x
Reference in New Issue
Block a user