[med-svn] [SCM] python-csb branch, master, updated. upstream/1.1.1-4-gdc810ba

gregor herrmann gregoa at debian.org
Fri Jul 5 14:27:04 UTC 2013


The following commit has been merged in the master branch:
commit 55814ca7984556f6d76268d01d52ca3685accba8
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 5 16:22:15 2013 +0200

    debian/rules: set HOME for epydoc to a directory under debian/.
    
    Closes: #711423

diff --git a/debian/rules b/debian/rules
index 9cb30a7..6849a35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
 
 PYVERS = $(shell pyversions -r)
 PY3VERS = $(shell py3versions -r)
+BUILDHOME = $(CURDIR)/debian/buildhome
 
 %:
 	dh $@ --with python2,python3
@@ -16,7 +17,8 @@ override_dh_auto_build:
 		$$py -B setup.py build; \
 	done
 	mkdir -p $(CURDIR)/docs/api
-	epydoc --html -o $(CURDIR)/docs/api --name CSB --no-private --introspect-only --exclude csb.test.cases --fail-on-error --fail-on-warning --fail-on-docstring-warning $(CURDIR)/csb
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) epydoc --html -o $(CURDIR)/docs/api --name CSB --no-private --introspect-only --exclude csb.test.cases --fail-on-error --fail-on-warning --fail-on-docstring-warning $(CURDIR)/csb
 
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean:
@@ -24,6 +26,7 @@ override_dh_auto_clean:
 	for py in $(PYVERS) $(PY3VERS); do \
 		$$py -B setup.py clean -a; \
 	done
+	rm -rf $(BUILDHOME)
 
 .PHONY: override_dh_auto_install
 override_dh_auto_install:

-- 
Packaging of python-csb



More information about the debian-med-commit mailing list