Sync from SUSE:SLFO:Main python-jaraco.functools revision 3e08eaa41be5948edf669be7c37df41a

This commit is contained in:
Adrian Schröter 2024-12-13 11:37:44 +01:00
parent 70fd551654
commit b68cb01ce7
4 changed files with 40 additions and 17 deletions

BIN
jaraco.functools-3.6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jaraco_functools-4.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Sun Sep 29 20:01:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.1.0:
* Added chainable decorator.
-------------------------------------------------------------------
Tue Jun 4 08:01:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.0.1:
* No significant changes.
-------------------------------------------------------------------
Tue Apr 9 18:56:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- remove jaraco.packaging as it is only needed for docs
-------------------------------------------------------------------
Tue Jan 2 21:13:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com> Fri Apr 21 12:27:19 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-jaraco.functools # spec file for package python-jaraco.functools
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# 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
@ -16,19 +16,16 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jaraco.functools Name: python-jaraco.functools
Version: 3.6.0 Version: 4.1.0
Release: 0 Release: 0
Summary: Tools to work with functools Summary: Tools to work with functools
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/jaraco/jaraco.functools URL: https://github.com/jaraco/jaraco.functools
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco.functools-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco_functools-%{version}.tar.gz
BuildRequires: %{python_module jaraco.classes} BuildRequires: %{python_module jaraco.classes}
BuildRequires: %{python_module jaraco.packaging >= 9}
BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools >= 56}
@ -36,7 +33,6 @@ BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-jaraco.packaging >= 9
Requires: python-more-itertools Requires: python-more-itertools
BuildArch: noarch BuildArch: noarch
# SECTION test and docs # SECTION test and docs
@ -51,7 +47,7 @@ jaraco.functools Tools for working with functools.
Additional functools in the spirit of stdlibs functools. Additional functools in the spirit of stdlibs functools.
%prep %prep
%setup -q -n jaraco.functools-%{version} %setup -q -n jaraco_functools-%{version}
sed -i 's/--flake8//' pytest.ini sed -i 's/--flake8//' pytest.ini
sed -i 's/--black --cov//' pytest.ini sed -i 's/--black --cov//' pytest.ini
rm -rf jaraco.functools.egg-info rm -rf jaraco.functools.egg-info
@ -69,10 +65,8 @@ rm -rf jaraco.functools.egg-info
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc docs/*.rst README.rst CHANGES.rst %doc docs/*.rst README.rst NEWS.rst
%{python_sitelib}/jaraco.functools-%{version}*-info %{python_sitelib}/jaraco/functools
%{python_sitelib}/jaraco/functools.py* %{python_sitelib}/jaraco.functools-%{version}.dist-info
%dir %{python_sitelib}/jaraco/__pycache__
%pycache_only %{python_sitelib}/jaraco/__pycache__/functools*.py*
%changelog %changelog