pyhon3: Remove extra pycache cleanup

This extra step is not necessary. Specially since we don't remove the
cached files anymore.

BugzID: 80673
This commit is contained in:
Alexandre Bard 2022-09-21 14:45:24 +02:00
parent 535e4a4c8a
commit 7b7a373dbf
1 changed files with 0 additions and 6 deletions

View File

@ -1,9 +1,3 @@
PACKAGE_PREPROCESS_FUNCS += "${@ 'clean_pycache' if not bb.utils.to_boolean(d.getVar('INCLUDE_PYCS')) else '' }"
clean_pycache(){
find ${PKGD} | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
}
do_install_append(){ do_install_append(){
cd ${D}${libdir}/python${PYTHON_MAJMIN} cd ${D}${libdir}/python${PYTHON_MAJMIN}
rm -rf turtle.py turtledemo/ rm -rf turtle.py turtledemo/