[meta-python] python3-inotify: new package

Message ID 20220516124553.232642-1-brgl@bgdev.pl
State New
Headers show
Series [meta-python] python3-inotify: new package | expand

Commit Message

Bartosz Golaszewski May 16, 2022, 12:45 p.m. UTC
We have a recipe for python3-pyinotify (not to be confused with the
recently added python3-pyfanotify) but this project has been abandoned
years ago. There's another - still maintained - project called simply
inotify on pypi and this adds the recipe for it.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb      |  1 +
 .../python/python3-inotify_0.2.10.bb               | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb

Patch

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index d08908939..6ca652e12 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -186,6 +186,7 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-imgtool \
     python3-incremental \
     python3-inflection \
+    python3-inotify \
     python3-intelhex \
     python3-intervals \
     python3-ipaddress \
diff --git a/meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb b/meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb
new file mode 100644
index 000000000..524c3a0d2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "An adapter to Linux kernel support for inotify directory-watching."
+AUTHOR = "Dustin Oprea"
+HOMEPAGE = "https://pypi.org/project/inotify/"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://setup.py;md5=79b7ec72aa0d446a552d3cceb5799e41;beginline=28;endline=28"
+
+SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6c02a07"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-ctypes \
+    python3-logging \
+"