15
0

Accepting request 391569 from home:alois:branches:devel:languages:python

Update to version 2.7

OBS-URL: https://build.opensuse.org/request/show/391569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=3
This commit is contained in:
2016-04-26 14:22:10 +00:00
committed by Git OBS Bridge
parent e1b9200862
commit 5ce9d8fa33
4 changed files with 27 additions and 9 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Apr 25 15:00:53 UTC 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 13:12:38 UTC 2015 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rarfile
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -15,16 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-rarfile
Version: 2.6
Version: 2.7
Release: 0
License: ISC
Summary: RAR Archive Reader for Python
Url: https://rarfile.readthedocs.org/
License: ISC
Group: Development/Languages/Python
Url: https://rarfile.readthedocs.org/
Source0: http://pypi.python.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz
BuildRequires: python-setuptools
BuildRequires: python-Sphinx
BuildRequires: python-setuptools
Requires: unrar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1110
@@ -82,4 +83,3 @@ install -m 0644 doc/_build/html/_static/* %{buildroot}%{_docdir}/%{name}-doc/_st
%doc %{_docdir}/%{name}-doc
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:326700c5450cfb367f612e918866ea27551bac02f4656f340003c88873fa1a56
size 35981

3
rarfile-2.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47148088ddb6c020774f4c38927fec9625ca33651bdc551bdaeafc78690b1635
size 37515