[meta-python][PATCH 1/4] python3-glances: add recipe

"Trevor Gamblin" <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Eilís Ní Fhlannagáin <[email protected]>

glances is a system monitoring tool similar to htop, with both local TUI
and web server support for remote monitoring.

Co-developed-by: Trevor Gamblin <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Signed-off-by: Eilís Ní Fhlannagáin <[email protected]>
---
 .../python/python3-glances_4.3.2.bb           | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-glances_4.3.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb b/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb
new file mode 100644
index 0000000000..6acd8429b3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Glances is an open-source system cross-platform monitoring tool."
+HOMEPAGE = "https://nicolargo.github.io/glances/"
+LICENSE = "LGPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=852ecadc0ac7e6f4d7144d5544a3815b"
+
+SRC_URI[sha256sum] = "736faa7faea3bcd58afffd6443974b4ed4b498627a71ce5d6c9640b7b5ddbd94"
+
+PYPI_PACKAGE = "glances"
+
+inherit pypi python_setuptools_build_meta
+
+# psutil/jinja2/packaging are oe-core; fastapi/uvicorn/defusedxml are
+# meta-python. 
+RDEPENDS:${PN} += " \
+    python3-psutil \
+    python3-packaging \
+    python3-defusedxml \
+    python3-fastapi \
+    python3-uvicorn \
+    python3-jinja2 \
+    python3-json \
+    python3-logging \
+    python3-asyncio \
+    python3-multiprocessing \
+    python3-netclient \
+    python3-xml \
+"
+
+# Optional fast-JSON accelerator glances uses if present.
+RRECOMMENDS:${PN} += "python3-orjson"
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.