Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-rarfile-4.2-2.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python311-rarfile Distribution: openSUSE Tumbleweed
Version: 4.2 Vendor: openSUSE
Release: 2.1 Build date: Tue Oct 22 08:44:49 2024
Group: Unspecified Build host: reproducible
Size: 267590 Source RPM: python-rarfile-4.2-2.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://rarfile.readthedocs.org/
Summary: RAR Archive Reader for Python
This is a Python module for RAR archive reading. It supports both RAR
2.x and 3.x archives, multi volume archives, Unicode filenames,
password-protected archives, archive and file comments. The archive
parsing and non-compressed files are handled in pure Python code, for
compressed files, the "unrar" utility is run.

Provides

Requires

License

ISC

Changelog

* Tue Oct 22 2024 Dominique Leuenberger <dimstar@opensuse.org>
  - Do not BuildRequire unar: this seems unused during the build/test
    phase.
* Sat Jun 29 2024 Luigi Baldoni <aloisio@gmx.com>
  - Update to version 4.2
    Features:
    * Support unrar-free >= 0.2.0.
    * Add RarFile.is_solid to check if archive uses solid compression.
    Fixes:
    * Support old multi-volume archives better where ENDARC does
      not contain NEXTVOL.
    version 4.1:
    Features:
    * Support 7zip/p7zip as decompression backend.
    * RAR5: check password before trying to read file.
    New APIs:
    * Make get_rar_version a public function.
    * New option: ``part_only`` for :class:`RarFile`,
      to read only single file and allow it to be middle-part
      of multi-volume archive.
    * Add :meth:`RarFile.printdir`, use it in dumprar. Needed to
      examine FILE_COPY or HARD_LINK entries that do not contain
      data.
    Fixes:
    * Use OS separator to access filename.
    * DirectReader: check seek position on each read.
      Fixes read reading from multiple entries in parallel
      on RarFile backed by file object.
    * DirectReader: properly disable CRC check when seeking.
    * Reset _hdrenc_main before processing a new volume.
      Fixes CRC checks on multi-volume reads.
    * Adapt to Python 3.10 argparse.
    * SFX: Handle volume numbering special cases better.
    * nsdatetime: support pypy internal use
    * Throw error if backend does not support passwords.
    Cleanups:
    * Avoid isascii, not in 3.6
  - Drop help.patch (merged upstream)
* Wed May 04 2022 Markéta Machová <mmachova@suse.com>
  - Add patch help.patch and enable Python 3.10
    * https://github.com/markokr/rarfile/pull/85
* Wed Feb 16 2022 Dirk Müller <dmueller@suse.com>
  - skip python 3.10 build - not yet supported
* Fri Jul 31 2020 Luigi Baldoni <aloisio@gmx.com>
  - 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
* Mon Jul 20 2020 Luigi Baldoni <aloisio@gmx.com>
  - 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.
* Mon Oct 14 2019 Matej Cepl <mcepl@suse.com>
  - Replace %fdupes -s with plain %fdupes; hardlinks are better.
* Sat Sep 21 2019 Luigi Baldoni <aloisio@gmx.com>
  - Update to version 3.1 (no changelog available)
  - Spec cleanup
* 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

Files

/usr/lib/python3.11/site-packages/__pycache__/rarfile.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/__pycache__/rarfile.cpython-311.pyc
/usr/lib/python3.11/site-packages/rarfile-4.2-py3.11.egg-info
/usr/lib/python3.11/site-packages/rarfile-4.2-py3.11.egg-info/PKG-INFO
/usr/lib/python3.11/site-packages/rarfile-4.2-py3.11.egg-info/SOURCES.txt
/usr/lib/python3.11/site-packages/rarfile-4.2-py3.11.egg-info/dependency_links.txt
/usr/lib/python3.11/site-packages/rarfile-4.2-py3.11.egg-info/top_level.txt
/usr/lib/python3.11/site-packages/rarfile.py
/usr/share/licenses/python311-rarfile
/usr/share/licenses/python311-rarfile/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Nov 16 23:53:07 2024