14
0

Accepting request 867842 from home:jayvdb:branches:devel:languages:python

- Update to v2.1.0
- Remove shims for Python 2

OBS-URL: https://build.opensuse.org/request/show/867842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sortedcollections?expand=0&rev=15
This commit is contained in:
2021-01-30 12:46:20 +00:00
committed by Git OBS Bridge
parent 1c8898b345
commit 02a63f1015
4 changed files with 31 additions and 6 deletions

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Jan 30 05:20:31 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Update to v2.1.0
* Add NearestDict
* Update for Python 3
* Fixes for doctest support
* Add NearestDict implementation
* Update docs to reference NearestDict
* Use Python3 defaults for inheritance
* Use f-strings
- from v2.0.0
* Remove shims for Python 2
* Add support for mypy
* Drop need for "gj" from requirements
* Load version from __init__.py rather than by import
* Add __all__ to __init__.py for flake8
* Small fixes/changes for linters/formatters/type-checkers
- from v1.2.3
* Add support for "blue" formatter
* Fixes for doctest support
- from v1.2.2
* Add pickle support for IndexableSet
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 22 15:04:59 UTC 2020 - Matej Cepl <mcepl@suse.com> Wed Jul 22 15:04:59 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sortedcollections # spec file for package python-sortedcollections
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# 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
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-sortedcollections Name: python-sortedcollections
Version: 1.2.1 Version: 2.1.0
Release: 0 Release: 0
Summary: Python Sorted Collections Summary: Python Sorted Collections
License: Apache-2.0 License: Apache-2.0
@@ -53,7 +54,7 @@ Features
%prep %prep
%setup -q -n python-sortedcollections-%{version} %setup -q -n python-sortedcollections-%{version}
%autopatch -p1 rm tox.ini
%build %build
%python_build %python_build

View File

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

3
v2.1.0.tar.gz Normal file
View File

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