From b075937f1a1560214c0cd53a45b039d422812073 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Tue, 11 Feb 2025 18:51:35 +0100
Subject: [PATCH] Manually removing some files that pybuild doesn't clean up
 during build (Closes: #1044761).

Signed-off-by: Daniel Baumann <daniel@debian.org>
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 753638f..0d8f6ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 %:
 	dh ${@} --buildsystem=pybuild
 
+execute_after_dh_auto_clean:
+	# help pybuild
+	rm -rf *.egg-info
+
 execute_after_dh_auto_install:
 	# bash-completion
 	mkdir -p debian/gita/usr/share/bash-completion/completions