[diffoscope] 02/04: Remove all __pycache__ directories to avoid source-contains-empty-directory Lintian warning.

Chris Lamb chris at chris-lamb.co.uk
Sun May 6 07:55:58 CEST 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 4a4dd7b4daeb2edc224e862638b2f4f46ad1f5e8
Author: Chris Lamb <lamby at debian.org>
Date:   Sat May 5 22:42:29 2018 -0700

    Remove all __pycache__ directories to avoid source-contains-empty-directory Lintian warning.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index f1e4f0a..467cf2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,6 +47,7 @@ override_dh_auto_build: debian/diffoscope.bash-completion
 override_dh_auto_clean:
 	dh_auto_clean -O--buildsystem=pybuild
 	dh_auto_clean -O--buildsystem=makefile -Ddoc
+	find -type d -name '__pycache__' -empty -delete
 
 override_dh_python3:
 	dh_python3 -p diffoscope \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the rb-commits mailing list