Revisions of python-rarfile
buildservice-autocommit
accepted
request 974864
from
Matej Cepl (mcepl)
(revision 20)
baserev update by copy to link target
- Add patch help.patch and enable Python 3.10 * https://github.com/markokr/rarfile/pull/85
buildservice-autocommit
accepted
request 824573
from
Tomáš Chvátal (scarabeus_iv)
(revision 17)
baserev update by copy to link target
- 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
buildservice-autocommit
accepted
request 821832
from
Tomáš Chvátal (scarabeus_iv)
(revision 15)
baserev update by copy to link target
- 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.
buildservice-autocommit
accepted
request 738391
from
Matej Cepl (mcepl)
(revision 13)
baserev update by copy to link target
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
buildservice-autocommit
accepted
request 732398
from
Tomáš Chvátal (scarabeus_iv)
(revision 11)
baserev update by copy to link target
Update to version 3.1
initialized devel package after accepting 483992
Update to version 3.0
Update to 2.8
Update to version 2.7
Fix building on SLES 11
package for reading rar files
Displaying all 20 revisions