python3-m2crypto: Remove __pycache__ files
PATCH 1/1 python3-m2crypto: Remove __pycache__ files
They may not be appropriate for target due to cross compiling
Signed-off-by Khem Raj <[email protected]>
--- .../recipes-devtools/python/python3-m2crypto_0.39.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb +5 -0
@@ -44,4 +44,9 @@ export SWIG_FEATURES export STAGING_DIR +do_install:append() { + rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/SSL/__pycache__/*.cpython-*.pyc + rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/__pycache__/*.cpython-*.pyc +} + BBCLASSEXTEND = "native"
Signature · 1 line
2.41.0