From 243b08c1d61de0e8ea2c36424ee756c28ee40038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 24 Nov 2023 16:04:50 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 python-jaraco.collections revision a1c39cfff27c4fe4061ffb92b833b0e2 --- .gitattributes | 23 ++++++ jaraco.collections-4.3.0.tar.gz | 3 + python-jaraco.collections.changes | 122 ++++++++++++++++++++++++++++++ python-jaraco.collections.spec | 69 +++++++++++++++++ 4 files changed, 217 insertions(+) create mode 100644 .gitattributes create mode 100644 jaraco.collections-4.3.0.tar.gz create mode 100644 python-jaraco.collections.changes create mode 100644 python-jaraco.collections.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/jaraco.collections-4.3.0.tar.gz b/jaraco.collections-4.3.0.tar.gz new file mode 100644 index 0000000..5d5606c --- /dev/null +++ b/jaraco.collections-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74ffc23fccfee4de0a2ebf556a33675b6a3c003d6335947d3122a0bc8822c8e4 +size 17862 diff --git a/python-jaraco.collections.changes b/python-jaraco.collections.changes new file mode 100644 index 0000000..b56aaf8 --- /dev/null +++ b/python-jaraco.collections.changes @@ -0,0 +1,122 @@ +------------------------------------------------------------------- +Mon Oct 9 06:57:30 UTC 2023 - Ondřej Súkup + +- 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 + +- 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 + +- prepare test environment: correctly provide jaraco modules locally + %{python3_sitelib} might not be available + +------------------------------------------------------------------- +Fri Dec 2 18:07:12 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 3.8.0 + * Made DictStack mutable. + +------------------------------------------------------------------- +Tue Nov 8 17:12:30 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 3.7.0: + * Added RangeMap.left. + +------------------------------------------------------------------- +Tue Oct 25 19:21:15 UTC 2022 - Matej Cepl + +- 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 + +- Remove conditional definition of python_module. + +------------------------------------------------------------------- +Mon Aug 29 11:37:21 UTC 2022 - Ben Greiner + +- 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 + +- 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 + +- Update to 3.0.0 + * Require Python 3.6 or later. + +------------------------------------------------------------------- +Thu Jan 16 10:58:44 UTC 2020 - Tomáš Chvátal + +- Update to 2.1: + * Added pop_all function. + +------------------------------------------------------------------- +Tue Feb 26 09:28:39 UTC 2019 - John Vandenberg + +- 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 diff --git a/python-jaraco.collections.spec b/python-jaraco.collections.spec new file mode 100644 index 0000000..dcdd632 --- /dev/null +++ b/python-jaraco.collections.spec @@ -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