diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2023-10-31 19:51:33 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-01 15:33:05 -0700 |
| commit | 86fc3bf9e30e4304b5cd8107bc086bc806fac5ef (patch) | |
| tree | b225a8dae65e8cca1e0fc39d7497c8c5c2515542 /meta-python | |
| parent | ddafefcc6c5ee717a594888ca767ea27f331ce6e (diff) | |
| download | meta-openembedded-86fc3bf9e30e4304b5cd8107bc086bc806fac5ef.tar.gz | |
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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-rarfile_4.1.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rarfile_4.1.bb b/meta-python/recipes-devtools/python/python3-rarfile_4.1.bb new file mode 100644 index 0000000000..ece92ee3b3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rarfile_4.1.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | SUMMARY = "RAR archive reader for Python" | ||
| 2 | HOMEPAGE = "https://github.com/markokr/rarfile" | ||
| 3 | LICENSE = "ISC" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2f31e224cbf0c29cb6c55f2bae0e165f" | ||
| 6 | |||
| 7 | inherit setuptools3 | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "db60b3b5bc1c4bdeb941427d50b606d51df677353385255583847639473eda48" | ||
| 10 | |||
| 11 | inherit pypi | ||
| 12 | |||
| 13 | PYPI_PACKAGE="rarfile" | ||
| 14 | |||
| 15 | RDEPENDS:${PN} += "\ | ||
| 16 | p7zip \ | ||
| 17 | ${PYTHON_PN}-core \ | ||
| 18 | ${PYTHON_PN}-datetime \ | ||
| 19 | ${PYTHON_PN}-crypt \ | ||
| 20 | ${PYTHON_PN}-io \ | ||
| 21 | " | ||
| 22 | |||
| 23 | BBCLASSEXTEND = "native nativesdk" | ||
