14
0
forked from pool/python-bidict

Accepting request 765343 from home:mcalabkova:branches:devel:languages:python

- update to 0.19.0
  * Drop support for Python 2 as promised in v0.18.2.
  * Deprecate bidict.OVERWRITE and bidict.IGNORE. A UserWarning will now be emitted if these are used.
  * Rename DuplicationPolicy to OnDupAction (and implement it via an Enum).
  * No longer use __all__ in bidict’s __init__.py.
  * Improve validation of names passed to namedbidict().

OBS-URL: https://build.opensuse.org/request/show/765343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bidict?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-01-17 18:08:39 +00:00
committed by Git OBS Bridge
parent b443fe6fce
commit 2b0089a8a7
4 changed files with 17 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bidict
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,15 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bidict
Version: 0.18.2
Version: 0.19.0
Release: 0
Summary: Bidirectional map implementation for Python
License: MPL-2.0
Group: Development/Languages/Python
Url: https://github.com/jab/bidict
URL: https://github.com/jab/bidict
Source: https://files.pythonhosted.org/packages/source/b/bidict/bidict-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}