1
0

Accepting request 965191 from devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/965191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.functools?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-03-29 16:14:08 +00:00 committed by Git OBS Bridge
commit 38f75aa253
4 changed files with 19 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fedc4be3117512ca3e03e1b2ffa7a6a6ffa589bfb7d02bfb324e55d493b94f4
size 16996

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31e0e93d1027592b7b0bec6ad468db850338981ebee76ba5e212e235f4c7dda0
size 13254

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Mar 27 11:12:17 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jaraco.functools
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jaraco.functools
Version: 3.0.1
Version: 3.5.0
Release: 0
Summary: Tools to work with functools
License: MIT
@ -55,8 +55,6 @@ rm -rf jaraco.functools.egg-info
%install
%python_install
%python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py
%{?python_compileall}
%{!?python_compileall: # if we haven no python_compileall we are for sure still without multiple python3 flavors.
%py3_compile %{buildroot}%{python3_sitelib}/jaraco/