commit:     34ba6c94bb00c0e21c9bedc83746391c32f68434
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu May  4 02:00:48 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu May  4 02:00:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34ba6c94

dev-python/compreffor: remove csources

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/compreffor/compreffor-0.5.2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild 
b/dev-python/compreffor/compreffor-0.5.2.ebuild
index c8aea9ea1..96e9e4efa 100644
--- a/dev-python/compreffor/compreffor-0.5.2.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
@@ -28,6 +28,11 @@ PATCHES=( 
"${FILESDIR}/${PN}-0.5.1_p1-remove-unwanted-dependencies.patch" )
 
 distutils_enable_tests pytest
 
+src_prepare() {
+       find "${S}" -name '*.cpp' -delete || die
+       distutils-r1_src_prepare
+}
+
 python_test() {
        cd "${T}" || die
        epytest --pyargs compreffor

Reply via email to