14
0
Commit Graph

13 Commits

Author SHA256 Message Date
ae2a0dec1f Accepting request 974818 from home:mcalabkova:branches:devel:languages:python
- Add patch help.patch and enable Python 3.10
  * https://github.com/markokr/rarfile/pull/85

OBS-URL: https://build.opensuse.org/request/show/974818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=19
2022-05-04 09:27:39 +00:00
18e9c4005f - skip python 3.10 build - not yet supported
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=18
2022-02-16 20:40:57 +00:00
Tomáš Chvátal
b775f842d3 Accepting request 824106 from home:alois:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/824106
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=16
2020-08-06 05:39:42 +00:00
Tomáš Chvátal
201482fa66 Accepting request 821820 from home:alois:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/821820
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=14
2020-07-20 08:38:53 +00:00
537389308a - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=12
2019-10-14 14:40:16 +00:00
Tomáš Chvátal
3ae429dbfe Accepting request 732365 from home:alois:branches:devel:languages:python
Update to version 3.1

OBS-URL: https://build.opensuse.org/request/show/732365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=10
2019-09-21 19:22:54 +00:00
b2f6002823 Accepting request 483992 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/483992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rarfile?expand=0&rev=1
2017-04-14 11:34:54 +00:00
Thomas Bechtold
308f366247 Accepting request 483440 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/483440
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=6
2017-03-31 06:46:39 +00:00
Thomas Bechtold
4f3438e1be Accepting request 454475 from home:alois:branches:devel:languages:python
Update to version 3.0

OBS-URL: https://build.opensuse.org/request/show/454475
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=5
2017-02-06 08:07:18 +00:00
df9c44c8c2 Accepting request 427037 from home:alois:branches:devel:languages:python
Update to 2.8

OBS-URL: https://build.opensuse.org/request/show/427037
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=4
2016-09-14 12:39:10 +00:00
5ce9d8fa33 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
2016-04-26 14:22:10 +00:00
Todd R
e1b9200862 Accepting request 316563 from home:TheBlackCat:branches:devel:languages:python
Fix building on SLES 11

OBS-URL: https://build.opensuse.org/request/show/316563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=2
2015-07-14 07:45:24 +00:00
Todd R
ac11199c1d Accepting request 244903 from KDE:Extra
package for reading rar files

OBS-URL: https://build.opensuse.org/request/show/244903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rarfile?expand=0&rev=1
2014-08-15 21:08:48 +00:00