commit: 0b09403554e316434b88c4685b302424540e47ab
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Nov 26 14:14:26 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Nov 26 16:41:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b094035
dev-python/hunter: remove csources
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/hunter/hunter-3.5.1.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-python/hunter/hunter-3.5.1.ebuild
b/dev-python/hunter/hunter-3.5.1.ebuild
index 92992aad4..bd9a4510a 100644
--- a/dev-python/hunter/hunter-3.5.1.ebuild
+++ b/dev-python/hunter/hunter-3.5.1.ebuild
@@ -57,6 +57,12 @@ src_unpack() {
mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die
}
+src_prepare() {
+ default
+
+ find . -name '*.c' -delete || die "removing csources failed"
+}
+
python_compile() {
distutils-r1_python_compile