[pyferret] 62/110: Remove cache files

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:03 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository pyferret.

commit 7c6a44cbb7ee185badda0c437b4b1bdd4768e8d0
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Aug 12 14:41:37 2016 +0100

    Remove cache files
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index af0d8a5..69e0ffc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,8 @@ override_dh_auto_install:
 	for p in $(PY2VERS) $(PY3VERS) ; do \
 		$(MAKE) HOSTTYPE=debian PYTHON_EXE=$$p clean all install ; \
 		done
+	find debian -name '__pycache__' -exec rm -rf {} \; 
+	find debian -name '*.pyo' -o -name '*.pyc' -delete
 	# libpyferret.so needs a link because its linked by externally loaded modules
 	# FIXME: How to cope when there are two versions?
 	dh_link -p python-ferret /usr/lib/python2.7/dist-packages/pyferret/libpyferret.$(ARCH).so $(LIBDIR)/libpyferret.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyferret.git



More information about the debian-science-commits mailing list