commit:     3b34e1c88e567f23e56c7e995167fcc22533b4ce
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed May 14 09:32:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 14 16:53:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b34e1c8

media-libs/partio: make test binaries removal conditional

Closes: https://bugs.gentoo.org/955625
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42087
Closes: https://github.com/gentoo/gentoo/pull/42087
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/partio/partio-1.19.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-libs/partio/partio-1.19.0.ebuild 
b/media-libs/partio/partio-1.19.0.ebuild
index 37e95f870f63..f9e6bbe266c9 100644
--- a/media-libs/partio/partio-1.19.0.ebuild
+++ b/media-libs/partio/partio-1.19.0.ebuild
@@ -100,5 +100,8 @@ src_install() {
 
        python_optimize
 
-       rm -r "${ED}/usr/share/partio" || die
+       # only remove test binaries when they are built #955625
+       if use test; then
+               rm -r "${ED}/usr/share/partio" || die
+       fi
 }

Reply via email to