meta-openembedded/meta-python/recipes-devtools/python/python3-inotify_0.2.12.bb
Yi Zhao 854498a39f
python3-inotify: upgrade to 0.2.12
ChangeLog:
https://github.com/dsoprea/PyInotify/releases/tag/0.2.11
https://github.com/dsoprea/PyInotify/releases/tag/0.2.12

License Update: Use LICENSE file instead of the specific line in
                setup.py.

* Switch to PyPI instead of github source
* Drop local patch new-test-inotify.patch as it can not be applied with
  updated test_inotify.py

Ptest result:
$ ptest-runner python3-inotify
START: ptest-runner
2025-11-13T03:46
BEGIN: /usr/lib/python3-inotify/ptest
PASS: tests/test_inotify.py:TestInotify.test__cycle
PASS: tests/test_inotify.py:TestInotify.test__error_on_watch_nonexistent_folder
PASS: tests/test_inotify.py:TestInotify.test__get_event_names
SKIP: tests/test_inotify.py:TestInotify.test__international_naming_python2 # SKIP Not in Python 2
PASS: tests/test_inotify.py:TestInotify.test__international_naming_python3
PASS: tests/test_inotify.py:TestInotify.test__watch_list_of_paths
PASS: tests/test_inotify.py:TestInotifyTree.test__automatic_new_watches_on_existing_paths
PASS: tests/test_inotify.py:TestInotifyTree.test__automatic_new_watches_on_new_paths
PASS: tests/test_inotify.py:TestInotifyTree.test__cycle
PASS: tests/test_inotify.py:TestInotifyTree.test__renames
PASS: tests/test_inotify.py:TestInotifyTrees.test__cycle
============================================================================
Testsuite summary
 # TOTAL: 11
 # PASS: 10
 # SKIP: 1
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0
 # ERROR: 0
DURATION: 14
END: /usr/lib/python3-inotify/ptest
2025-11-13T03:46
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-13 10:15:06 -08:00

17 lines
518 B
BlitzBasic

SUMMARY = "An adapter to Linux kernel support for inotify directory-watching."
HOMEPAGE = "https://pypi.org/project/inotify/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
SRC_URI[sha256sum] = "9aee407f92c7d51a2ce50f3b78291a9094e334e34bd68e82bf60020795fa2c94"
PYPI_PACKAGE = "inotify"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
inherit pypi python_setuptools_build_meta ptest-python-pytest
RDEPENDS:${PN} += " \
python3-ctypes \
python3-logging \
"