From 9e5f9a7e2d6a082c007e3b3e66e1f6bcf0a63798 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Fri, 25 Feb 2022 18:21:08 -0800 Subject: [PATCH] python3-pyserial: also remove /usr/bin/__pycache__ PEP-517 packaging tries to also ship ${bindir}/__pycache__, since we are removing all the scripts from ${bindir}, remove the cache as well. Signed-off-by: Tim Orling Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index 4766d92266..15646235df 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb @@ -9,6 +9,7 @@ inherit pypi setuptools3 ptest do_install:append() { rm -f ${D}${bindir}/pyserial-miniterm rm -f ${D}${bindir}/pyserial-ports + rm -rf ${D}${bindir}/__pycache__ rmdir ${D}${bindir} }