From 191c93780894bc636225e50d98ab0f2be09ccc3a3aaef0576a2e635d29310f09 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 28 Dec 2025 15:07:56 +0000 Subject: [PATCH] - update to 4.4.0: * Add noop. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.functools?expand=0&rev=45 --- .gitattributes | 23 +++++ .gitignore | 1 + jaraco_functools-4.2.1.tar.gz | 3 + jaraco_functools-4.3.0.tar.gz | 3 + jaraco_functools-4.4.0.tar.gz | 3 + python-jaraco.functools.changes | 164 ++++++++++++++++++++++++++++++++ python-jaraco.functools.spec | 72 ++++++++++++++ 7 files changed, 269 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 jaraco_functools-4.2.1.tar.gz create mode 100644 jaraco_functools-4.3.0.tar.gz create mode 100644 jaraco_functools-4.4.0.tar.gz create mode 100644 python-jaraco.functools.changes create mode 100644 python-jaraco.functools.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jaraco_functools-4.2.1.tar.gz b/jaraco_functools-4.2.1.tar.gz new file mode 100644 index 0000000..dc65f94 --- /dev/null +++ b/jaraco_functools-4.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be634abfccabce56fa3053f8c7ebe37b682683a4ee7793670ced17bab0087353 +size 19661 diff --git a/jaraco_functools-4.3.0.tar.gz b/jaraco_functools-4.3.0.tar.gz new file mode 100644 index 0000000..a2a7247 --- /dev/null +++ b/jaraco_functools-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfd13ad0dd2c47a3600b439ef72d8615d482cedcff1632930d6f28924d92f294 +size 19755 diff --git a/jaraco_functools-4.4.0.tar.gz b/jaraco_functools-4.4.0.tar.gz new file mode 100644 index 0000000..ec9e91c --- /dev/null +++ b/jaraco_functools-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da21933b0417b89515562656547a77b4931f98176eb173644c0d35032a33d6bb +size 19943 diff --git a/python-jaraco.functools.changes b/python-jaraco.functools.changes new file mode 100644 index 0000000..cdd390b --- /dev/null +++ b/python-jaraco.functools.changes @@ -0,0 +1,164 @@ +------------------------------------------------------------------- +Sun Dec 28 15:07:40 UTC 2025 - Dirk Müller + +- update to 4.4.0: + * Add noop. + +------------------------------------------------------------------- +Mon Sep 29 10:47:24 UTC 2025 - Dirk Müller + +- update to 4.3.0: + * Add none_as function. + +------------------------------------------------------------------- +Sun Jul 13 13:36:31 UTC 2025 - Dirk Müller + +- update to 4.2.1: + * Add 'passthrough' function. + * Added missing splat in stubs -- by :user:`Avasam` + +------------------------------------------------------------------- +Tue Apr 1 15:35:00 UTC 2025 - Markéta Machová + +- Make it compatible with older setuptools + +------------------------------------------------------------------- +Wed Mar 26 05:48:33 UTC 2025 - Steve Kowalik + +- Normalize metadata directory name. + +------------------------------------------------------------------- +Sun Sep 29 20:01:21 UTC 2024 - Dirk Müller + +- update to 4.1.0: + * Added chainable decorator. + +------------------------------------------------------------------- +Tue Jun 4 08:01:44 UTC 2024 - Dirk Müller + +- update to 4.0.1: + * No significant changes. + +------------------------------------------------------------------- +Tue Apr 9 18:56:25 UTC 2024 - Dirk Müller + +- remove jaraco.packaging as it is only needed for docs + +------------------------------------------------------------------- +Tue Jan 2 21:13:08 UTC 2024 - Dirk Müller + +- update to 4.0.0: + * Added splat function. + * Removed deprecated 'call_aside'. + * Enhanced type hints and declare the package as typed. + Module is now a package. + * Restored type checking and repaired broken exclusion. + * Require Python 3.8 or later. + * Added bypass_unless and bypass_when and identity. + +------------------------------------------------------------------- +Fri Apr 21 12:27:19 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:42:13 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Sun Mar 26 20:03:42 UTC 2023 - Dirk Müller + +- update to 3.6.0: + * #21: Renamed ``call_aside`` to ``invoke``, deprecating + ``call_aside``. + +------------------------------------------------------------------- +Fri Oct 28 17:48:20 UTC 2022 - Yogalakshmi Arunachalam + +- Update to v3.5.2 + * Refreshed packaging. + +------------------------------------------------------------------- +Wed Sep 14 22:01:12 UTC 2022 - Matej Cepl + +- Tidelift is a good and interesting company, but we really don’t + need to have python-jaraco.tidelit as a dependency. + +------------------------------------------------------------------- +Wed Aug 31 12:31:24 UTC 2022 - Torsten Gruner + +- update to 3.5.1 + * Packaging refresh + * Enrolled with Tidelift + +------------------------------------------------------------------- +Sun Mar 27 11:12:17 UTC 2022 - Dirk Müller + +- update to 3.5.0: + * #19: Add type annotations to ``method_cache``. + * Require Python 3.7. + * ``apply`` now uses ``functools.wraps`` to ensure docstring + * passthrough. + * #18: In method_cache, support cache_clear before cache + * is initialized. + * Refreshed package metadata. + * Switched to PEP 420 for ``jaraco`` namespace. + * Added ``except_`` decorator. + +------------------------------------------------------------------- +Wed Dec 2 21:54:54 UTC 2020 - Benjamin Greiner + +- compile cache for all python3 flavors + gh#openSUSE/python-rpm-macros#66 + +------------------------------------------------------------------- +Thu Sep 17 11:33:01 UTC 2020 - Dirk Mueller + +- update to 3.0.1: + #14: Removed unnecessary compatibility libraries in testing. + +------------------------------------------------------------------- +Sat Mar 14 08:13:39 UTC 2020 - Tomáš Chvátal + +- Femove leftover py2 dependencies + +------------------------------------------------------------------- +Mon Mar 9 13:14:29 UTC 2020 - Marketa Calabkova + +- Update to 3.0.0 + * Require Python 3.6 or later. + +------------------------------------------------------------------- +Wed Aug 21 14:43:51 UTC 2019 - Tomáš Chvátal + +- Skip another test that is randomly failing + +------------------------------------------------------------------- +Wed Apr 17 16:02:33 CEST 2019 - Matej Cepl + +- Skip method_cache doctest test (gh#jaraco/jaraco.functools#12). + +------------------------------------------------------------------- +Tue Feb 26 09:20:58 UTC 2019 - John Vandenberg + +- Add LICENSE +- Compile manually due to switch to pkgutil namespace technique +- Add fdupes +- Re-instate use of --doctest-modules to increase coverage +- Remove undesirable build dependency pytest-sugar +- Add missing runtime dependency on python-jaraco.base +- Add missing runtime dependency on more-itertools +- Add explicit build dependency on python-six +- Update to v2.0 + * Switch to pkgutil namespace technique for the ``jaraco`` namespace. + +------------------------------------------------------------------- +Tue Aug 28 10:05:54 UTC 2018 - dmueller@suse.com + +- enable tests + +------------------------------------------------------------------- +Thu Aug 23 10:57:21 UTC 2018 - dheidler@suse.de + +- Initial Package for v1.20 diff --git a/python-jaraco.functools.spec b/python-jaraco.functools.spec new file mode 100644 index 0000000..d0d2295 --- /dev/null +++ b/python-jaraco.functools.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-jaraco.functools +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# 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.functools +Version: 4.4.0 +Release: 0 +Summary: Tools to work with functools +License: MIT +Group: Development/Languages/Python +URL: https://github.com/jaraco/jaraco.functools +Source0: https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco_functools-%{version}.tar.gz +BuildRequires: %{python_module jaraco.classes} +BuildRequires: %{python_module more-itertools} +BuildRequires: %{python_module pip} +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-more-itertools +BuildArch: noarch +# SECTION test and docs +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module rst.linker >= 1.9} +# /SECTION +%python_subpackages + +%description +jaraco.functools Tools for working with functools. +Additional functools in the spirit of stdlib’s functools. + +%prep +%setup -q -n jaraco_functools-%{version} +sed -i 's/--flake8//' pytest.ini +sed -i 's/--black --cov//' pytest.ini +rm -rf jaraco.functools.egg-info + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# test_function_throttled - can randomly fail +%pytest -k 'not test_function_throttled' + +%files %{python_files} +%license LICENSE +%doc docs/*.rst README.rst NEWS.rst +%{python_sitelib}/jaraco/functools +%{python_sitelib}/jaraco[_.]functools-%{version}.dist-info + +%changelog