forked from pool/python-sortedcollections
Accepting request 702789 from home:mcalabkova:branches:devel:languages:python
- update to version 1.1.2 * Add ItemSortedDict.__deepcopy__ for deep copying * Define _setitem = __setitem__ in overrides * Some new tests and various code cleanup OBS-URL: https://build.opensuse.org/request/show/702789 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sortedcollections?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
89b3c9808c
commit
54b14efbff
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 08:51:22 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to version 1.1.2
|
||||||
|
* Add ItemSortedDict.__deepcopy__ for deep copying
|
||||||
|
* Define _setitem = __setitem__ in overrides
|
||||||
|
* Some new tests and various code cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:54:27 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:54:27 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sortedcollections
|
# spec file for package python-sortedcollections
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,18 +18,19 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-sortedcollections
|
Name: python-sortedcollections
|
||||||
Version: 1.0.1
|
Version: 1.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Sorted Collections
|
Summary: Python Sorted Collections
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/grantjenks/sortedcollections
|
Url: https://github.com/grantjenks/sortedcollections
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sortedcollections/sortedcollections-%{version}.tar.gz
|
#Source: https://files.pythonhosted.org/packages/source/s/sortedcollections/sortedcollections-%%{version}.tar.gz
|
||||||
|
Source: https://github.com/grantjenks/python-sortedcollections/archive/v%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module sortedcontainers >= 2}
|
BuildRequires: %{python_module sortedcontainers >= 2}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-sortedcontainers >= 2
|
Requires: python-sortedcontainers >= 2
|
||||||
@@ -52,7 +53,7 @@ Features
|
|||||||
- SegmentList - List with fast random access insertion and deletion.
|
- SegmentList - List with fast random access insertion and deletion.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sortedcollections-%{version}
|
%setup -q -n python-sortedcollections-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -61,6 +62,9 @@ Features
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6b982f3c6ddcd3fe90d5af6c67c529692643b14a454c4886d975141a907b018b
|
|
||||||
size 6637
|
|
3
v1.1.2.tar.gz
Normal file
3
v1.1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:11aee33a812235117c469a970885c2edab3915bae5b65d040b7075aa0a6c4d3f
|
||||||
|
size 46442
|
Reference in New Issue
Block a user