- Update to 1.0.1:

* no upstream changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-HeapDict?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal 2019-09-24 09:16:47 +00:00 committed by Git OBS Bridge
parent a1f4e2f45a
commit 608bb78307
4 changed files with 12 additions and 16 deletions

View File

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

3
HeapDict-1.0.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 24 09:15:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.1:
* no upstream changelog
-------------------------------------------------------------------
Tue Dec 4 12:48:51 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-HeapDict
#
# 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
@ -17,14 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# required test package not available on SLE
%if 0%{?is_opensuse}
%bcond_without test
%else
%bcond_with test
%endif
Name: python-HeapDict
Version: 1.0.0
Version: 1.0.1
Release: 0
Summary: A heap with decrease-key and increase-key operations
License: BSD-3-Clause
@ -34,13 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/H/HeapDict/HeapDi
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
# These packages contain module test from stdlib,
# it has nothing to do with this package being noarch
BuildRequires: python2-devel
BuildRequires: python3-testsuite
%endif
BuildArch: noarch
%python_subpackages
%description
@ -63,10 +55,8 @@ important for many algorithms such as Dijkstra's Algorithm and A*.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec test_heap.py
%endif
%files %{python_files}
%license LICENSE