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 <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-10-15 13:07:30 -07:00
parent 066b5207a0
commit 19cbdbcac6
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

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