Skip to contentSkip to conversation

python3-pybcj: add recipe

PATCH New Leon Anavi 1 participant 3 messages Nov 6, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-pybcj: add recipe

Add pybcj, a bcj filter library. Version 1.0.2 brings:

- Support python 3.12
- Add cibuildwheel config

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-pybcj_1.0.2.bb             | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pybcj_1.0.2.bb
meta-python/recipes-devtools/python/python3-pybcj_1.0.2.bb new file +24 -0
new file mode 100644
index 000000000..34ffb9793
@@ -0,0 +1,24 @@
+SUMMARY = "bcj filter library"
+HOMEPAGE = "https://codeberg.org/miurahr/pybcj"
+LICENSE = "LGPL-2.1-or-later"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI[sha256sum] = "c7f5bef7f47723c53420e377bc64d2553843bee8bcac5f0ad076ab1524780018"
+
+inherit pypi python_setuptools_build_meta pypi
+
+#PROVIDES = "python3-pybcj"
+
+DEPENDS += " \
+    ${PYTHON_PN}-setuptools-scm-native \
+    ${PYTHON_PN}-toml-native \
+    ${PYTHON_PN}-wheel-native \
+"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-importlib-metadata \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-compression \
+"
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/3 python3-pyppmd: add recipe

Add pyppmd, a PPMd compression/decompression library. Version 1.1.0 provides:

- Add Python 3.12 support
- Minimum required python to be 3.8
- Export PPMD8_RESTORE_METHOD* constants
- Drop setup.cfg
- Drop github actions workflows
- README: Add SPDX identifier
- CI run on python 3.10, 3.11 and 3.12

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-pyppmd_1.1.0.bb            | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyppmd_1.1.0.bb
meta-python/recipes-devtools/python/python3-pyppmd_1.1.0.bb new file +20 -0
new file mode 100644
index 000000000..053c9adab
@@ -0,0 +1,20 @@
+SUMMARY = "PPMd compression/decompression library"
+HOMEPAGE = "https://pyppmd.readthedocs.io/en/latest/"
+LICENSE = "LGPL-2.1-or-later"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973"
+
+DEPENDS += " \
+    ${PYTHON_PN}-setuptools-scm-native \
+    ${PYTHON_PN}-toml-native \
+    ${PYTHON_PN}-wheel-native \
+"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-importlib-metadata \
+"
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/3 python3-py7zr: add recipe

In reply to Leon Anavi

Add py7zr, a pure python 7-zip library. Version 0.20.7 with Python 3.12 support.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-py7zr_0.20.7.bb            | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-py7zr_0.20.7.bb
meta-python/recipes-devtools/python/python3-py7zr_0.20.7.bb new file +29 -0
new file mode 100644
index 000000000..d919c4a0d
@@ -0,0 +1,29 @@
+SUMMARY = "Pure Python 7-zip library"
+HOMEPAGE = "https://py7zr.readthedocs.io/en/latest/"
+LICENSE = "LGPL-2.1-or-later"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI[sha256sum] = "55aa587fb4586c920437f5d6e6595f228beddb321bfee3f5146bb15c2e8e74d5"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    ${PYTHON_PN}-setuptools-scm-native \
+    ${PYTHON_PN}-toml-native \
+    ${PYTHON_PN}-wheel-native \
+"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-pycryptodomex \
+    ${PYTHON_PN}-multivolumefile \
+    ${PYTHON_PN}-pybcj \
+    ${PYTHON_PN}-inflate64 \
+    ${PYTHON_PN}-pyppmd \
+    ${PYTHON_PN}-pyzstd \
+    ${PYTHON_PN}-brotli \
+    ${PYTHON_PN}-multiprocessing \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-threading \
+"
Signature · 1 line
2.39.2