commit python-rarfile for openSUSE:Factory
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 + +- 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)
commit python-rarfile for openSUSE:Factory
Hello community, here is the log from the commit of package python-rarfile for openSUSE:Factory checked in at 2020-07-20 21:02:21 Comparing /work/SRC/openSUSE:Factory/python-rarfile (Old) and /work/SRC/openSUSE:Factory/.python-rarfile.new.3592 (New) Package is "python-rarfile" Mon Jul 20 21:02:21 2020 rev:4 rq:821832 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/python-rarfile/python-rarfile.changes 2019-10-16 09:15:39.675409435 +0200 +++ /work/SRC/openSUSE:Factory/.python-rarfile.new.3592/python-rarfile.changes 2020-07-20 21:04:28.277281500 +0200 @@ -1,0 +2,19 @@ +Mon Jul 20 07:50:34 UTC 2020 - Luigi Baldoni + +- Update to version 3.2 + New features: + * Support unar as decompression backend. It has much +better support for RAR features than bsdtar. + * Support SFX archives - archive header is searched in first +2MB of the file. + * Add :data:`HACK_TMP_DIR` option, to force temp files into +specific directory. + Fixes: + * Always use "/" for path separator in command-line + Cleanups: + * Drop module-level options from docs, they create confusion. + * Drop support for Python 2 and 3.5 and earlier. Python 2 is +dead and requiring Python 3.6 gives blake2s, stdlib that +supports pathlib, and ordered dict without compat hacks. + +--- Old: rarfile-3.1.tar.gz New: rarfile-3.2.tar.gz Other differences: -- ++ python-rarfile.spec ++ --- /var/tmp/diff_new_pack.4inC7p/_old 2020-07-20 21:04:29.977283224 +0200 +++ /var/tmp/diff_new_pack.4inC7p/_new 2020-07-20 21:04:29.981283228 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rarfile # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-rarfile -Version:3.1 +Version:3.2 Release:0 Summary:RAR Archive Reader for Python License:ISC @@ -54,7 +54,7 @@ %build %python_build -make %{?_smp_mflags} -C doc html +%make_build -C doc html rm doc/_build/html/.buildinfo %install ++ rarfile-3.1.tar.gz -> rarfile-3.2.tar.gz ++ 3898 lines of diff (skipped)
commit python-rarfile for openSUSE:Factory
Hello community, here is the log from the commit of package python-rarfile for openSUSE:Factory checked in at 2019-10-16 09:15:35 Comparing /work/SRC/openSUSE:Factory/python-rarfile (Old) and /work/SRC/openSUSE:Factory/.python-rarfile.new.2352 (New) Package is "python-rarfile" Wed Oct 16 09:15:35 2019 rev:3 rq:738391 version:3.1 Changes: --- /work/SRC/openSUSE:Factory/python-rarfile/python-rarfile.changes 2019-09-23 12:39:43.445587192 +0200 +++ /work/SRC/openSUSE:Factory/.python-rarfile.new.2352/python-rarfile.changes 2019-10-16 09:15:39.675409435 +0200 @@ -1,0 +2,5 @@ +Mon Oct 14 14:40:03 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Other differences: -- ++ python-rarfile.spec ++ --- /var/tmp/diff_new_pack.89glfH/_old 2019-10-16 09:15:40.171408157 +0200 +++ /var/tmp/diff_new_pack.89glfH/_new 2019-10-16 09:15:40.175408147 +0200 @@ -22,7 +22,6 @@ Release:0 Summary:RAR Archive Reader for Python License:ISC -Group: Development/Languages/Python URL:https://rarfile.readthedocs.org/ Source0: https://files.pythonhosted.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -43,7 +42,6 @@ %package doc Summary:RAR Archive Reader for Python (Documentation) -Group: Documentation/HTML BuildArch: noarch %description doc @@ -61,7 +59,7 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE
commit python-rarfile for openSUSE:Factory
Hello community, here is the log from the commit of package python-rarfile for openSUSE:Factory checked in at 2019-09-23 12:39:11 Comparing /work/SRC/openSUSE:Factory/python-rarfile (Old) and /work/SRC/openSUSE:Factory/.python-rarfile.new.7948 (New) Package is "python-rarfile" Mon Sep 23 12:39:11 2019 rev:2 rq:732398 version:3.1 Changes: --- /work/SRC/openSUSE:Factory/python-rarfile/python-rarfile.changes 2017-04-14 13:34:55.559092621 +0200 +++ /work/SRC/openSUSE:Factory/.python-rarfile.new.7948/python-rarfile.changes 2019-09-23 12:39:43.445587192 +0200 @@ -1,0 +2,6 @@ +Sat Sep 21 13:58:36 UTC 2019 - Luigi Baldoni + +- Update to version 3.1 (no changelog available) +- Spec cleanup + +--- Old: rarfile-3.0.tar.gz New: rarfile-3.1.tar.gz Other differences: -- ++ python-rarfile.spec ++ --- /var/tmp/diff_new_pack.QIBzJ4/_old 2019-09-23 12:39:44.021587097 +0200 +++ /var/tmp/diff_new_pack.QIBzJ4/_new 2019-09-23 12:39:44.021587097 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rarfile # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rarfile -Version:3.0 +Version:3.1 Release:0 Summary:RAR Archive Reader for Python License:ISC Group: Development/Languages/Python -Url:https://rarfile.readthedocs.org/ -Source0: https://pypi.io/packages/source/r/rarfile/rarfile-%{version}.tar.gz +URL:https://rarfile.readthedocs.org/ +Source0: https://files.pythonhosted.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx >= 1.3 Requires: bsdtar Recommends: unrar -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -59,21 +58,19 @@ %python_build make %{?_smp_mflags} -C doc html rm doc/_build/html/.buildinfo -sed -i 's/\r$//' doc/_build/html/objects.inv %install %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %pycache_only %{python_sitelib}/__pycache__/rarfile.*.py* %{python_sitelib}/rarfile.py* %{python_sitelib}/rarfile-%{version}-py%{python_version}.egg-info %files %{python_files doc} -%defattr(-,root,root,-) -%doc LICENSE doc/_build/html/ +%license LICENSE +%doc doc/_build/html/ %changelog ++ rarfile-3.0.tar.gz -> rarfile-3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rarfile-3.0/LICENSE new/rarfile-3.1/LICENSE --- old/rarfile-3.0/LICENSE 2016-06-08 22:14:13.0 +0200 +++ new/rarfile-3.1/LICENSE 2019-09-15 15:51:09.0 +0200 @@ -1,5 +1,5 @@ -Copyright (c) 2005-2016 Marko Kreen +Copyright (c) 2005-2019 Marko Kreen Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rarfile-3.0/MANIFEST.in new/rarfile-3.1/MANIFEST.in --- old/rarfile-3.0/MANIFEST.in 2016-06-08 22:14:13.0 +0200 +++ new/rarfile-3.1/MANIFEST.in 2019-03-29 12:45:00.0 +0100 @@ -1,3 +1,3 @@ include README.rst Makefile MANIFEST.in LICENSE dumprar.py include doc/*.rst doc/Makefile doc/conf.py doc/make.bat -include test/Makefile test/*.sh test/files/*.rar test/files/*.exp +include test/Makefile test/*.sh test/files/*.rar test/files/*.r[0-9][0-9] test/files/*.exp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rarfile-3.0/Makefile new/rarfile-3.1/Makefile --- old/rarfile-3.0/Makefile2016-06-08 23:49:55.0 +0200 +++ new/rarfile-3.1/Makefile2019-09-15 14:42:30.0 +0200 @@ -1,15 +1,19 @@ +VER := $(shell python3 setup.py --version) +TGZ = dist/rarfile-$(VER).tar.gz + prefix = /usr/local all: pyflakes3 rarfile.py - tox + tox -e lint +