It looks like it doesn't remove any files today. So I propose
we simply remove this append to do_install to clean up the recipe

Signed-off-by: Guðni Már Gilbert <[email protected]>
---
 .../recipes-devtools/python/python3-twisted_24.10.0.bb       | 5 -----
 1 file changed, 5 deletions(-)

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 056ddf428..b097cb7fb 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
@@ -10,11 +10,6 @@ SRC_URI[sha256sum] = 
"02951299672595fea0f70fa2d5f7b5e3d56836157eda68859a6ad6492d
 
 inherit pypi python_hatchling
 
-do_install:append() {
-    # remove some useless files before packaging
-    find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} 
\;
-}
-
 PACKAGES =+ "\
     ${PN}-zsh \
     ${PN}-test \
-- 
2.43.0

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

  • [oe] [meta-python][PATC... Guðni Már Gilbert via lists . openembedded . org

Reply via email to