diff mbox series

[meta-python,2/2] python3-lazy-object-proxy: Remove __pycache__ from packaging

Message ID 20251015200942.996584-2-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/2] python3-lazy-object-proxy: Upgrade to 1.12.0 release | expand

Commit Message

Khem Raj Oct. 15, 2025, 8:09 p.m. UTC
They make the package non-reproducible morever these are cache files anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-lazy-object-proxy_1.12.0.bb               | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

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
+}