Sync from SUSE:ALP:Source:Standard:1.0 python-jaraco.collections revision a1c39cfff27c4fe4061ffb92b833b0e2

This commit is contained in:
Adrian Schröter 2023-11-24 16:04:50 +01:00
commit 243b08c1d6
4 changed files with 217 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
jaraco.collections-4.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,122 @@
-------------------------------------------------------------------
Mon Oct 9 06:57:30 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 4.3.0
* Added Mask, the inverse of a Projection.
* Require Python 3.8 or later.
-------------------------------------------------------------------
Sun May 14 18:30:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.1.0:
* ``Projection`` now accepts an iterable or callable or pattern
for matching keys. ``Projection`` now retains order of keys
from the underlying mapping.
* ``DictFilter`` is now deprecated in favor of ``Projection``.
* ``DictFilter`` no longer accepts ``include_keys`` and
requires ``include_pattern`` as a keyword argument.
* In ``DictFilter``, deprecated ``include_keys`` parameter and
usage without ``include_pattern``. Future versions will honor
``include_pattern`` as a required keyword argument. All other
uses are deprecated. For uses that currently rely on
``include_keys``, use ``Projection`` instead/in addition.
* ``DictFilter.__len__`` no longer relies on the iterable.
Improves efficiency and fixes ``RecursionError`` on PyPy (#12).
-------------------------------------------------------------------
Sun Mar 5 18:56:10 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
- prepare test environment: correctly provide jaraco modules locally
%{python3_sitelib} might not be available
-------------------------------------------------------------------
Fri Dec 2 18:07:12 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 3.8.0
* Made DictStack mutable.
-------------------------------------------------------------------
Tue Nov 8 17:12:30 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 3.7.0:
* Added RangeMap.left.
-------------------------------------------------------------------
Tue Oct 25 19:21:15 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Upgrade to 3.6.0:
- Revised DictFilter:
- Fixed issue where DictFilter.__contains__ would raise a
KeyError.
- Relies heavily now on collections.abc.Mapping base class.
-------------------------------------------------------------------
Tue Oct 25 19:17:07 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Remove conditional definition of python_module.
-------------------------------------------------------------------
Mon Aug 29 11:37:21 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to v3.5.2
* Packaging refresh.
* Enrolled with Tidelift.
- v3.5.1
* Fixed DictStack.__len__ and addressed recursion error on PyPy
in __getitem__.
- v3.5.0
* DictStack now supports the following Mapping behaviors:
- .items()
- casting to a dict
- __contains__ (i.e. "x in stack")
* Require Python 3.7 or later.
- v3.4.0: Add WeightedLookup.
- v3.3.0: Add FreezableDefaultDict.
- v3.2.0: Rely on PEP 420 for namespace package.
-------------------------------------------------------------------
Sat Dec 5 22:16:50 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- compile cache for all python3 flavors, remove unused python2
compile statements -- gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Mon Mar 9 12:59:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.0.0
* Require Python 3.6 or later.
-------------------------------------------------------------------
Thu Jan 16 10:58:44 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.1:
* Added pop_all function.
-------------------------------------------------------------------
Tue Feb 26 09:28:39 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add LICENSE
- Compile manually due to switch to pkgutil namespace technique
- Use fdupes
- Re-instate use of --doctest-modules to increase coverage
- Add explicit build dependency on python-six
- Update to v2.0
* Switch to pkgutil namespace technique for the ``jaraco`` namespace.
- from 1.6.0
* Fix DeprecationWarnings when referencing abstract base
classes from collections module.
-------------------------------------------------------------------
Tue Aug 28 12:23:31 UTC 2018 - dmueller@suse.com
- enable tests
-------------------------------------------------------------------
Tue Aug 28 08:24:24 UTC 2018 - dmueller@suse.com
- filelist cleanup
-------------------------------------------------------------------
Thu Aug 23 09:50:30 UTC 2018 - dheidler@suse.de
- Initial Package for v1.5.3

View File

@ -0,0 +1,69 @@
#
# spec file for package python-jaraco.collections
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-jaraco.collections
Version: 4.3.0
Release: 0
Summary: Tools to work with collections
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/jaraco.collections
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.collections/jaraco.collections-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module jaraco.classes}
BuildRequires: %{python_module jaraco.text}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jaraco.classes
Requires: python-jaraco.text
BuildArch: noarch
%python_subpackages
%description
jaraco.collections Tools for working with collections.
Models and classes to supplement the stdlib collections module.
%prep
%setup -q -n jaraco.collections-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest --doctest-modules -k "not (dummyprefix or read_newlines or report_newlines)"
%files %{python_files}
%license LICENSE
%doc docs/*.rst README.rst NEWS.rst
%{python_sitelib}/jaraco.collections-%{version}*-info
%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/collections.py*
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__
%pycache_only %{python_sitelib}/jaraco/__pycache__/collections*.py*
%changelog