Sync from SUSE:SLFO:Main python-jaraco.context revision dce08cba79dcfebb44490be7328412c2

This commit is contained in:
Adrian Schröter 2024-12-13 11:36:57 +01:00
parent f221e670b8
commit 4ae4e1e4c7
4 changed files with 28 additions and 8 deletions

BIN
jaraco.context-4.3.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jaraco.context-5.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sun Apr 7 09:27:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.3.0:
* Deprecate infer_compression, as it was used primarily for
deferring to the tar command.
* Enable 'transparent' compression in the tarfile context.
* Implemented tarfile using native functionality and avoiding
subprocessing, making it portable.
* Implement experimental _compose for composing context
managers. If you wish to use this function, please comment in
the issue regarding your thoughts on the ordering.
* Deprecate null context.
* Renamed tarball_context to tarball and deprecated
tarball_context compatibility shim.
* Disentangle pushd from tarball.
* Removed deprecated 'runner' parameter to tarball_context.
-------------------------------------------------------------------
Mon May 22 21:09:33 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jaraco.context
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -18,19 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-jaraco.context
Version: 4.3.0
Version: 5.3.0
Release: 0
Summary: Tools to work with functools
License: MIT
URL: https://github.com/jaraco/jaraco.context
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.context/jaraco.context-%{version}.tar.gz
BuildRequires: %{python_module backports.tarfile}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module portend}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-backports.tarfile
BuildArch: noarch
%python_subpackages
@ -39,8 +42,7 @@ jaraco.functools Tools for working with functools.
Additional functools in the spirit of stdlibs functools.
%prep
%setup -q -n jaraco.context-%{version}
%autopatch -p1
%autosetup -p1 -n jaraco.context-%{version}
%build
%pyproject_wheel
@ -54,7 +56,7 @@ Additional functools in the spirit of stdlibs functools.
%files %{python_files}
%license LICENSE
%doc docs/*.rst README.rst CHANGES.rst
%doc docs/*.rst README.rst NEWS.rst
%{python_sitelib}/jaraco.context-%{version}*-info
%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/context.py*