From: Tero Kinnunen <[email protected]>

Python watchdog has removed all dependencies except optional `pyyaml`
dependency for `watchmedo` utility, like follows [1]:

* pathtools dependency was removed in 1.0.0
* python-argh dependency removed in 2.1.6
* requests was never a dependency
* pyyaml only needed for extras (`watchmedo`) and may not be strictly necessary

[1] https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst

Signed-off-by: Tero Kinnunen <[email protected]>
---
 .../recipes-devtools/python/python3-watchdog_6.0.0.bb    | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb 
b/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb
index 4f56e81049..40abfbfa38 100644
--- a/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb
@@ -1,5 +1,4 @@
 SUMMARY = "Filesystem events monitoring"
-DEPENDS = "python3-argh"
 
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
@@ -8,11 +7,7 @@ SRC_URI[sha256sum] = 
"9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} = " \
-    python3-argh \
-    python3-pathtools3 \
-    python3-pyyaml \
-    python3-requests \
-"
+PACKAGECONFIG ??= "watchmedo"
+PACKAGECONFIG[watchmedo] = ",,,python3-pyyaml"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123639): 
https://lists.openembedded.org/g/openembedded-devel/message/123639
Mute This Topic: https://lists.openembedded.org/mt/117343836/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to