From 19cbdbcac664b16e3c669e724d43725b8b00d2ef Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 15 Oct 2025 13:07:30 -0700 Subject: [PATCH] python3-lazy-object-proxy: Remove __pycache__ from packaging They make the package non-reproducible morever these are cache files anyway Signed-off-by: Khem Raj --- .../python/python3-lazy-object-proxy_1.12.0.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb index b0296dfc95..acd84efd21 100644 --- a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb @@ -11,3 +11,8 @@ SRC_URI[sha256sum] = "1f5a462d92fd0cfb82f1fab28b51bfb209fabbe6aabf7f0d51472c0c12 PYPI_PACKAGE = "lazy_object_proxy" inherit pypi python_setuptools_build_meta + +do_install:append() { + # contain moddate, makes is non-reproducible + rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/lazy_object_proxy/__pycache__/*.cpython-*.pyc +}