Subject: CVS commit: pkgsrc/archivers/py-rarfile
From: Adam Ciarcinski
Date: 2024-01-12 06:34:59
Message id: 20240112053459.31697FA42@cvs.NetBSD.org

Log Message:
py-rarfile: updated to 4.1

Version 4.1 (2023-09-17)

Features:

* Support 7zip/p7zip as decompression backend.
* RAR5: check password before trying to read file (chigusa)

New APIs:

* Make get_rar_version a public function (Safihre)
* 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.  Should fix
  subdirectory entry access on Windows.
* 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 (MeggyCal)
* SFX: Handle volume numbering special cases better.
* nsdatetime: support pypy internal use
* Throw error if backend does not support passwords.

Cleanups:

* ci: Use proper unrar on Windows.  MingW one tolaretes
  paths with ``/`` better than upstream build.
* ci: Add Python 3.10 to the testing (Christian Clauss)
* Avoid isascii, not in 3.6

Files:
RevisionActionfile
1.6modifypkgsrc/archivers/py-rarfile/Makefile
1.2modifypkgsrc/archivers/py-rarfile/PLIST
1.7modifypkgsrc/archivers/py-rarfile/distinfo