commit 786bd1dd1a75ee2d9b2d04ddb977157ba039ea5ddea4c9cbb2314693b7894027 Author: Dirk Mueller Date: Sun Sep 29 20:02:18 2024 +0000 - update to 4.1.0: * Added chainable decorator. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.functools?expand=0&rev=36 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.0.1.tar.gz b/jaraco_functools-4.0.1.tar.gz new file mode 100644 index 0000000..c577e75 --- /dev/null +++ b/jaraco_functools-4.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d33fa765374c0611b52f8b3a795f8900869aa88c84769d4d1746cd68fb28c3e8 +size 18169 diff --git a/jaraco_functools-4.1.0.tar.gz b/jaraco_functools-4.1.0.tar.gz new file mode 100644 index 0000000..700a3d7 --- /dev/null +++ b/jaraco_functools-4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70f7e0e2ae076498e212562325e805204fc092d7b4c17e0e86c959e249701a9d +size 19159 diff --git a/python-jaraco.functools.changes b/python-jaraco.functools.changes new file mode 100644 index 0000000..5ec40df --- /dev/null +++ b/python-jaraco.functools.changes @@ -0,0 +1,135 @@ +------------------------------------------------------------------- +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..4224758 --- /dev/null +++ b/python-jaraco.functools.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-jaraco.functools +# +# Copyright (c) 2024 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.functools +Version: 4.1.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