diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2024-03-06 17:29:50 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2024-03-12 14:39:20 -0700 |
commit | 7d23e75b2b7242c31b33bdc7b869edf599002262 (patch) | |
tree | 48085f4526cedc6a77b1429e476e87a05000fc29 /sys-cluster/ceph | |
parent | dev-python/raet: Revbump, minor cleanups, py312 (diff) | |
download | gentoo-7d23e75b2b7242c31b33bdc7b869edf599002262.tar.gz gentoo-7d23e75b2b7242c31b33bdc7b869edf599002262.tar.bz2 gentoo-7d23e75b2b7242c31b33bdc7b869edf599002262.zip |
sys-cluster/ceph: Remove .egg-info files (bug #924065)
Closes: https://bugs.gentoo.org/924065
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-cluster/ceph')
-rw-r--r-- | sys-cluster/ceph/ceph-18.2.1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |