* Wed Mar 29 2017 aloisio@gmx.com
- Converted to single-spec
- Improved description
* Fri Feb 03 2017 aloisio@gmx.com
- Update to version 3.0
New feature:
* Support RAR5 archive format. It is actually completely
different archive format from RAR3 one, only is uses same
file extension and tools are old one.
Except incompatibilies noted below, most of code should
notice no change, existing :class:`RarInfo` fields will
continue using RAR3-compatible values
(eg. :attr:`RarInfo.host_os`). RAR5-specific values
will use new fields.
Incompatibilities between rarfile v2.x and 3.x:
* Default :data:`PATH_SEP` is now '/' instead '\\'.
* Removed :data:`NEED_COMMENTS` option, comments are always
extracted.
* Removed :data:`UNICODE_COMMENTS` option, they are always
decoded.
* Removed :data:`USE_DATETIME` option,
:attr:`RarInfo.date_time` is always tuple,
:attr:`RarInfo.mtime`, :attr:`RarInfo.atime`,
:attr:`RarInfo.ctime` and
:attr:`RarInfo.arctime` are always
:class:`datetime.datetime` objects.
Fixes:
* Fixed bug when calling rarfp.open() on a RarInfo structure.
Cleanups:
* Code refactor to allow 2 different file format parsers.
* Code cleanups to pass modern linters.
* New testing and linting setup based on Tox_.
* Use setuptools instead distutils for install.
- Changed source URL to pypi.io
* Mon Sep 12 2016 aloisio@gmx.com
- Update to version 2.8
* Fix: support solid archives from in-memory file object.
Full archive will be written out to temp file. [#21]
* Fix: ask unrar stop switches scanning, to handle archive
names starting with "-". (Alexander Shadchin) [#12]
* Fix: add missing _parse_error variable to RarFile object.
(Gregory Mazzola) [#20]
* Fix: return proper boolean from
:meth:`RarInfo.needs_password`. [#22]
* Fix: do not insert non-string rarfile into exception
string. (Tim Muller) [#23]
* Fix: make :meth:`RarFile.extract` and
:meth:`RarFile.testrar` support in-memory archives.
* Use cryptography module as preferred crypto backend.
PyCrypto will be used as fallback.
* Cleanup: remove compat code for Python 2.4/2.5/2.6.
- Switched to bsdtar and made unrar dependency optional
- Changed source URL
* Mon Apr 25 2016 aloisio@gmx.com
- Update to version 2.7
* Allow use of bsdtar as decompression backend.
It sits on top of libarchive, which has support for reading
RAR archives.
* Now rarfile checks if unrar and if not then tries bsdtar. If
that works, then keeps using it. If not then configuration
stays with unrar which will then appear in error messages.
* Both RarFile and is_rarfile() now accept file-like object.
Eg. io.BytesIO. Only requirement is that the object must be
seekable. This mirrors similar funtionality in zipfile.
* Uniform error handling. RarFile accepts errors="strict" argument.
* Allow user to tune whether parsing and missing file errors
will raise exception. If error is not raised, the error
string can be queried with RarFile.strerror() method.
* Mon Jul 13 2015 toddrme2178@gmail.com
- Fix building on SLES 11
* Fri Aug 15 2014 toddrme2178@gmail.com
- Spec file cleanups
* Thu Apr 11 2013 lazy.kent@opensuse.org
- Update to 2.6.
* Add context manager support for RarFile class. Both RarFile and
RarExtFile support with statement now.
* RarFile.volumelist() method, returns filenames of archive
volumes.
* Re-throw clearer error in case unrar is not found in PATH.
* Sync new unrar4.x error code from rar.txt.
* Use Sphinx for documentation.
- Build doc subpackage.
* Sun Apr 29 2012 lazy.kent@opensuse.org
- Removed check for unsupported openSUSE versions.
- Corrected Description.
* Thu Jan 19 2012 lazy.kent@opensuse.org
- Update to 2.5.
* Fixed bugs.
* Fri Nov 11 2011 lazy.kent@opensuse.org
- Update to 2.4.
* Fix bug in corrupt unicode filename handling.
- Use full URL as a source.
* Thu Nov 10 2011 lazy.kent@opensuse.org
- Initial package created - 2.3.