commit: 7d23e75b2b7242c31b33bdc7b869edf599002262 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Thu Mar 7 01:29:50 2024 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Tue Mar 12 21:39:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d23e75b
sys-cluster/ceph: Remove .egg-info files (bug #924065) Closes: https://bugs.gentoo.org/924065 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> sys-cluster/ceph/ceph-18.2.1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-cluster/ceph/ceph-18.2.1.ebuild b/sys-cluster/ceph/ceph-18.2.1.ebuild index 3e68bf06a4e7..e7b7cdfc84ec 100644 --- a/sys-cluster/ceph/ceph-18.2.1.ebuild +++ b/sys-cluster/ceph/ceph-18.2.1.ebuild @@ -414,6 +414,9 @@ src_install() { python_setup cmake_src_install + + # the cmake_src_install here installs more egg-info files + rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die python_optimize find "${ED}" -name '*.la' -type f -delete || die @@ -472,6 +475,8 @@ python_install() { DESTDIR="${ED}" cmake_build src/pybind/install DESTDIR="${ED}" cmake_build src/cephadm/install + rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die + python_optimize }