diff --git a/jaraco.context-4.3.0.tar.gz b/jaraco.context-4.3.0.tar.gz deleted file mode 100644 index 4a5c97c..0000000 --- a/jaraco.context-4.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dad2404540b936a20acedec53355bdaea223acb88fd329fa6de9261c941566e -size 9764 diff --git a/jaraco.context-5.3.0.tar.gz b/jaraco.context-5.3.0.tar.gz new file mode 100644 index 0000000..918013d --- /dev/null +++ b/jaraco.context-5.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2f67165ce1f9be20f32f650f25d8edfc1646a8aeee48ae06fb35f90763576d2 +size 13345 diff --git a/python-jaraco.context.changes b/python-jaraco.context.changes index 6968fb8..308d8dc 100644 --- a/python-jaraco.context.changes +++ b/python-jaraco.context.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sun Apr 7 09:27:50 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-jaraco.context.spec b/python-jaraco.context.spec index f99bfd0..f3f53a0 100644 --- a/python-jaraco.context.spec +++ b/python-jaraco.context.spec @@ -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 stdlib’s 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 stdlib’s 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*