[cylc] 10/23: remove Pyro after install

Alastair McKinstry mckinstry at moszumanska.debian.org
Sun Mar 26 12:04:06 UTC 2017


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

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

commit 0857f391fc7f5351d9df13650a69646727f55f5e
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Nov 5 08:15:01 2016 +0000

    remove Pyro after install
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 262e76c..d71159f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,9 +18,13 @@ override_dh_auto_install:
 	cp conf/gcylcrc/themes.rc debian/tmp/etc/cylc/gcylcrc
 	find . -name '*.t' -exec chmod +x {} \;
 	find . -name test_header -exec chmod +x {} \;
-	find debian -name Pyro -exec rm -rf {} \;
 	chmod +x bin/*
 
+override_dh_fixperms:
+	# Delete after install. Use Pyro package instead.
+	rm -rf debian/python-cylc/usr/lib/python2.7/dist-packages/Pyro
+	dh_fixperms
+	
 override_dh_auto_clean:
 	$(MAKE) clean || echo "Clean already."
 	find . -name '*.pyc' -delete

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



More information about the debian-science-commits mailing list