Skip to contentSkip to conversation

python3-colorclass: add recipe

PATCH New Leon Anavi 1 participant 4 messages Nov 1, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/4 python3-colorclass: add recipe

Add colorclass version 2.2.2, a colorful worry-free console applications for Linux, Mac OS X, and Windows.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-colorclass_2.2.2.bb          | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb
meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb new file +17 -0
new file mode 100644
index 000000000..00c2c4e92
@@ -0,0 +1,17 @@
+SUMMARY = "Colorful worry-free console applications for Linux, Mac OS X, and Windows."
+HOMEPAGE = "https://github.com/matthewdeanmartin/colorclass"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1b2a533055839e54558a727657c1c73e"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "6d4fe287766166a98ca7bc6f6312daf04a0481b1eda43e7173484051c0ab4366"
+
+PYPI_PACKAGE="colorclass"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-ctypes \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/4 python3-inflate64: add recipe

Add python3-inflate64, a python package to provide compression and decompression feature with Enhanced Deflate algorithm.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-inflate64_0.3.1.bb            | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-inflate64_0.3.1.bb
meta-python/recipes-devtools/python/python3-inflate64_0.3.1.bb new file +16 -0
new file mode 100644
index 000000000..835856025
@@ -0,0 +1,16 @@
+SUMMARY = "deflate64 compression/decompression library"
+HOMEPAGE = "https://codeberg.org/miurahr/inflate64"
+LICENSE = "LGPL-2.1-or-later"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+inherit setuptools3 pypi
+
+SRC_URI[sha256sum] = "b52dd8fefd2ba179e5dfa18d6eca7e2fc822584616271c039d5ef1f9ca90c71c"
+
+PYPI_PACKAGE = "inflate64"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-importlib-metadata \
+"
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/4 python3-jsbeautifier: add recipe

In reply to Leon Anavi

Add a new recipe for jsbeautifier version 1.14.9, JavaScript unobfuscator and beautifier.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-jsbeautifier_1.14.9.bb     | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-jsbeautifier_1.14.9.bb
meta-python/recipes-devtools/python/python3-jsbeautifier_1.14.9.bb new file +19 -0
new file mode 100644
index 000000000..ac3c4319c
@@ -0,0 +1,19 @@
+SUMMARY = "JavaScript unobfuscator and beautifier."
+HOMEPAGE = "https://beautifier.io/"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "c738ebc36b47bd94e4ca6dd17a9004c3cc74edad582ca1d60e0e5d5945a63cb9"
+
+PYPI_PACKAGE="jsbeautifier"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-stringold \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
author
#3 lore raw

PATCH 4/4 python3-pymemcache: add recipe

In reply to Leon Anavi

Add pymemcache, a comprehensive, fast, pure Python memcached client. Version 4.0.0 brings:

- Drop python support for 2.7, 3.4 and 3.5
- Use default for get ignore_exc
- Return default from hash client
- Return default from hash client when using positional argument
- Support noreply for hash flush_all
- Drop support for Python 3.6
- Add official support for Python 3.10
- Handle a blank stat value
- Small buffer pass optimization
- Expand Client with a method for sending arbitrary commands
- Add pluggable compression serde
- Start to add type hints
- Add py.typed file
- Fix key_prefix issue with stats and cache_memlimit

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-pymemcache_4.0.0.bb        | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb
meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb new file +22 -0
new file mode 100644
index 000000000..2a09e9694
@@ -0,0 +1,22 @@
+DESCRIPTION = "A comprehensive, fast, pure Python memcached client"
+HOMEPAGE = "https://github.com/pinterest/pymemcache"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+PYPI_PACKAGE = "pymemcache"
+
+SRC_URI[sha256sum] = "27bf9bd1bbc1e20f83633208620d56de50f14185055e49504f4f5e94e94aff94"
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+    ${PYTHON_PN}-setuptools-scm-native \
+    ${PYTHON_PN}-six-native \
+"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-logging \
+"
Signature · 1 line
2.39.2