diff mbox series

[meta-python,2/2] python3-twisted: move appdirs from core package

Message ID 20241110155929.4678-2-gudni.m.g@gmail.com
State New
Headers show
Series [meta-python,1/2] python3-twisted: remove do_install append | expand

Commit Message

Guðni Már Gilbert Nov. 10, 2024, 3:59 p.m. UTC
python3-appdirs is currently only a dependency when
python3-twisted-conch is installed.

I propose to remove python3-appdirs from python3-twisted-core
such that it's not installed in the final image when
python3-twisted-conch is not installed.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
---
 .../recipes-devtools/python/python3-twisted_24.10.0.bb       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb
index b097cb7fb..865190fac 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb
@@ -42,8 +42,7 @@  RDEPENDS:${PN} = "\
     ${PN}-zsh \
 "
 
-RDEPENDS:${PN}-core = "python3-appdirs \
-                       python3-asyncio \
+RDEPENDS:${PN}-core = "python3-asyncio \
                        python3-attrs \
                        python3-automat \
                        python3-constantly \
@@ -57,7 +56,7 @@  RDEPENDS:${PN}-core = "python3-appdirs \
                        python3-zopeinterface \
 "
 RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest"
-RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle"
+RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-appdirs python3-bcrypt python3-cryptography python3-pickle"
 RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols"
 RDEPENDS:${PN}-names = "${PN}-core"
 RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols"