[Python-modules-commits] [python-persistent] 08/15: Do not ship the test suite

Barry Warsaw barry at moszumanska.debian.org
Fri Jan 6 21:13:39 UTC 2017


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

barry pushed a commit to branch master
in repository python-persistent.

commit d85abfbf3a54e423f3c792ec60342f32287bb491
Author: Julien Muchembled <jm at jmuchemb.eu>
Date:   Sun Dec 4 00:28:51 2016 +0100

    Do not ship the test suite
---
 debian/rules | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 801b026..4f58237 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,14 +2,12 @@
 
 export PYBUILD_NAME=persistent
 
+export PYBUILD_AFTER_INSTALL = cd {destdir}{install_dir}/persistent && \
+	rm -r *.c tests
+
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. http_proxy=http://127.0.0.1:9/ sphinx-build -qNE -b html docs build/html
-
-override_dh_install:
-	dh_install
-	find debian/python-persistent -name '*.c' -delete
-	find debian/python3-persistent -name '*.c' -delete

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-persistent.git



More information about the Python-modules-commits mailing list