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
This commit is contained in:
parent
fac060ea97
commit
e09c419d33
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/10/14 11:48:48 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2024/01/12 05:34:58 adam Exp $
|
||||
|
||||
DISTNAME= rarfile-4.0
|
||||
DISTNAME= rarfile-4.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= archivers python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rarfile/}
|
||||
|
@ -10,11 +10,13 @@ HOMEPAGE= https://github.com/markokr/rarfile
|
|||
COMMENT= RAR archive reader for Python
|
||||
LICENSE= isc
|
||||
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
||||
DEPENDS+= bsdtar-[0-9]*:../../archivers/bsdtar
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/wheel.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2017/04/14 14:01:02 leot Exp $
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
@comment $NetBSD: PLIST,v 1.2 2024/01/12 05:34:58 adam Exp $
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/rarfile.py
|
||||
${PYSITELIB}/rarfile.pyc
|
||||
${PYSITELIB}/rarfile.pyo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.6 2022/10/14 11:48:48 adam Exp $
|
||||
$NetBSD: distinfo,v 1.7 2024/01/12 05:34:58 adam Exp $
|
||||
|
||||
BLAKE2s (rarfile-4.0.tar.gz) = 731fe846cf39764dbe058353d9bb5e346cdc241f5c003beb370726de59826acb
|
||||
SHA512 (rarfile-4.0.tar.gz) = 05e15acd749564288d4f069970ac196344c33fd2710e918b84afe4c388aa364a17c63f86577037524336e3a022f6db2c8619f9b526f89e00753a8ab0d89263d4
|
||||
Size (rarfile-4.0.tar.gz) = 148026 bytes
|
||||
BLAKE2s (rarfile-4.1.tar.gz) = 46c201908b6abf4947a3f4230cee23cd4cd51884b8306294d87f2354d372b3f3
|
||||
SHA512 (rarfile-4.1.tar.gz) = ca3ac26e02b8d7770c43fe70a06cf42b2183a34846d59c79d3478651e9d7ffc022fe7336be44b8df8fa6f0789bae055c1d057c21d87af78acccc43a927fd02e2
|
||||
Size (rarfile-4.1.tar.gz) = 152826 bytes
|
||||
|
|
Loading…
Reference in New Issue