commit python-rarfile for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rarfile for openSUSE:Factory checked in at 2024-07-04 16:26:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rarfile (Old) and /work/SRC/openSUSE:Factory/.python-rarfile.new.2080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-rarfile" Thu Jul 4 16:26:27 2024 rev:8 rq:1185230 version:4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-rarfile/python-rarfile.changes 2022-05-04 15:11:33.112201629 +0200 +++ /work/SRC/openSUSE:Factory/.python-rarfile.new.2080/python-rarfile.changes 2024-07-04 16:27:26.068625320 +0200 @@ -1,0 +2,38 @@ +Sat Jun 29 17:30:32 UTC 2024 - Luigi Baldoni <aloisio@gmx.com> + +- Update to version 4.2 + Features: + * Support unrar-free >= 0.2.0. + * Add RarFile.is_solid to check if archive uses solid compression. + Fixes: + * Support old multi-volume archives better where ENDARC does + not contain NEXTVOL. + version 4.1: + Features: + * Support 7zip/p7zip as decompression backend. + * RAR5: check password before trying to read file. + New APIs: + * Make get_rar_version a public function. + * New option: ``part_only`` for :class:`RarFile`, + to read only single file and allow it to be middle-part + of multi-volume archive. + * Add :meth:`RarFile.printdir`, use it in dumprar. Needed to + examine FILE_COPY or HARD_LINK entries that do not contain + data. + Fixes: + * Use OS separator to access filename. + * DirectReader: check seek position on each read. + Fixes read reading from multiple entries in parallel + on RarFile backed by file object. + * DirectReader: properly disable CRC check when seeking. + * Reset _hdrenc_main before processing a new volume. + Fixes CRC checks on multi-volume reads. + * Adapt to Python 3.10 argparse. + * SFX: Handle volume numbering special cases better. + * nsdatetime: support pypy internal use + * Throw error if backend does not support passwords. + Cleanups: + * Avoid isascii, not in 3.6 +- Drop help.patch (merged upstream) + +------------------------------------------------------------------- Old: ---- help.patch rarfile-4.0.tar.gz New: ---- rarfile-4.2.tar.gz BETA DEBUG BEGIN: Old: * Avoid isascii, not in 3.6 - Drop help.patch (merged upstream) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rarfile.spec ++++++ --- /var/tmp/diff_new_pack.mypUn0/_old 2024-07-04 16:27:26.664647077 +0200 +++ /var/tmp/diff_new_pack.mypUn0/_new 2024-07-04 16:27:26.668647223 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rarfile # -# Copyright (c) 2022 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,16 +18,15 @@ %define skip_python2 1 Name: python-rarfile -Version: 4.0 +Version: 4.2 Release: 0 Summary: RAR Archive Reader for Python License: ISC URL: https://rarfile.readthedocs.org/ Source0: https://files.pythonhosted.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz -# https://github.com/markokr/rarfile/pull/85 -Patch0: help.patch BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: 7zip BuildRequires: bsdtar BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,8 +54,7 @@ This package contains technical documentation. %prep -%setup -q -n rarfile-%{version} -%autopatch -p1 +%autosetup -p1 -n rarfile-%{version} %build %python_build @@ -68,7 +66,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest -k "not (test_unrar_tool or test_reading or test_rar3_header_encryption)" %files %{python_files} %license LICENSE ++++++ rarfile-4.0.tar.gz -> rarfile-4.2.tar.gz ++++++ ++++ 2347 lines of diff (skipped)
participants (1)
-
Source-Sync