diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-07-28 11:07:19 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-08-07 09:01:00 -0700 |
| commit | 5adde6b9b8fd9cc41606f33501731fa0eac8dab3 (patch) | |
| tree | 26c3390474f8f6037cc7317e31e452c03a9df59b /meta-python/recipes-devtools/python | |
| parent | 22d5614d2d0c0235b7175ed9be1f2e1592ca3eac (diff) | |
| download | meta-openembedded-5adde6b9b8fd9cc41606f33501731fa0eac8dab3.tar.gz | |
python3-m2crypto: Remove __pycache__ files
They may not be appropriate for target due to cross compiling
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb index 3a4a700bf7..ac62773064 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb | |||
| @@ -44,4 +44,9 @@ export SWIG_FEATURES | |||
| 44 | 44 | ||
| 45 | export STAGING_DIR | 45 | export STAGING_DIR |
| 46 | 46 | ||
| 47 | do_install:append() { | ||
| 48 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/SSL/__pycache__/*.cpython-*.pyc | ||
| 49 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/__pycache__/*.cpython-*.pyc | ||
| 50 | } | ||
| 51 | |||
| 47 | BBCLASSEXTEND = "native" | 52 | BBCLASSEXTEND = "native" |
