meta-openembedded/meta-python/recipes-devtools/python/python3-rarfile_4.1.bb
Leon Anavi 86fc3bf9e3 python3-rarfile: add recipe
Add rarfile, a Python module for RAR archive reading. Version 4.1
brings:

- Support 7zip/p7zip as decompression backend
- RAR5: check password before trying to read file
- Make get_rar_version a public function
- New option: part_only for RarFile, to read only single file and
  allow it to be middle-part of multi-volume archive
- Add RarFile.printdir, use it in dumprar. Needed to examine
  FILE_COPY or HARD_LINK entries that do not contain data

Add run-time dependencies on p7zip as it is one of the supported
backend as well as to other required Python libraries.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-01 15:33:05 -07:00

24 lines
523 B
BlitzBasic

SUMMARY = "RAR archive reader for Python"
HOMEPAGE = "https://github.com/markokr/rarfile"
LICENSE = "ISC"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2f31e224cbf0c29cb6c55f2bae0e165f"
inherit setuptools3
SRC_URI[sha256sum] = "db60b3b5bc1c4bdeb941427d50b606d51df677353385255583847639473eda48"
inherit pypi
PYPI_PACKAGE="rarfile"
RDEPENDS:${PN} += "\
p7zip \
${PYTHON_PN}-core \
${PYTHON_PN}-datetime \
${PYTHON_PN}-crypt \
${PYTHON_PN}-io \
"
BBCLASSEXTEND = "native nativesdk"