Hello community,

here is the log from the commit of package python-rarfile for openSUSE:Factory 
checked in at 2020-08-06 10:41:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rarfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-rarfile.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rarfile"

Thu Aug  6 10:41:16 2020 rev:5 rq:824573 version:4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rarfile/python-rarfile.changes    
2020-07-20 21:04:28.277281500 +0200
+++ /work/SRC/openSUSE:Factory/.python-rarfile.new.3399/python-rarfile.changes  
2020-08-06 10:41:47.234110033 +0200
@@ -1,0 +2,51 @@
+Fri Jul 31 22:20:37 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 4.0
+  Main goals are:
+  * Increased zipfile-compatibility, thus also achieving
+    smaller difference between RAR3 and RAR5 archives.
+  * Removing dependency on unrar for extract, thus making
+    maintenance of alternative backends more manageable.
+  Breaking changes:
+  * Directory names will have "/" appended.
+  * RarFile.extract operates only on single entry, so when used
+    on directory it will create directory but not extract files
+    under it.
+  * RarFile.extract / RarFile.extractall / RarFile.testrar will
+    not launch special unrar command line, instead they are
+    implemented on top of RarFile.open.
+  * Keyword args in top-level APIs were renamed to match zipfile:
+    + RarFile(rarfile) -> RarFile(file)
+    + RarFile.setpassword(password) -> .setpassword(pwd)
+    + RarFile.getinfo(fname) -> .getinfo(name)
+    + RarFile.open(fname, mode, psw) -> .open(name, mode, pwd)
+    + RarFile.read(fname, psw) -> .read(name, pwd)
+  * PATH_SEP cannot be changed from "/".
+  New features:
+  * RarFile.extract will return final sanitized filename
+    for target file.
+  * RarInfo.is_dir is now preferred spelling of isdir().
+    Old method kept as alias.
+  * New RarInfo.is_file and RarInfo.is_symlink
+    methods. Only one of ~RarInfo.is_file, ~RarInfo.is_dir or
+    ~RarInfo.is_symlink can be True.
+  * RarFile.printdir has file argument for output.
+  * RarFile.__iter__ loops over RarInfo entries.
+  * RAR3: throw NeedFirstVolume exception with current volume
+    number, like RAR5 does.
+  * Nanosecond timestamp support.  Visible as nsdatetime
+    instance.
+  * Minimal CLI when run as script: python3 -m rarfile
+  * Skip old file versions in versioned archive.
+  Cleanups:
+  * Use PBKDF2 implementation from hashlib.
+  * Improve test coverage.
+  version 3.3:
+  Fixes:
+  * Add the .sfx test files to MANIFEST.in for inclusion in pypi
+    tarball.
+  * Add all files in git to tarball.
+- Run tests
+- Switch to unar
+
+-------------------------------------------------------------------

Old:
----
  rarfile-3.2.tar.gz

New:
----
  rarfile-4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-rarfile.spec ++++++
--- /var/tmp/diff_new_pack.cxPY1T/_old  2020-08-06 10:41:53.994113419 +0200
+++ /var/tmp/diff_new_pack.cxPY1T/_new  2020-08-06 10:41:53.998113420 +0200
@@ -18,18 +18,21 @@
 
 %define skip_python2 1
 Name:           python-rarfile
-Version:        3.2
+Version:        4.0
 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
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  bsdtar
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Sphinx >= 1.3
+BuildRequires:  unar
 Requires:       bsdtar
-Recommends:     unrar
+Recommends:     unar
 BuildArch:      noarch
 %python_subpackages
 
@@ -61,6 +64,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
 %license LICENSE
 %pycache_only %{python_sitelib}/__pycache__/rarfile.*.py*

++++++ rarfile-3.2.tar.gz -> rarfile-4.0.tar.gz ++++++
++++ 6608 lines of diff (skipped)


Reply via email to