[Python-modules-commits] r20902 - in packages/ipython/trunk/debian (changelog rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Thu Mar 22 18:06:48 UTC 2012


    Date: Thursday, March 22, 2012 @ 18:06:44
  Author: jtaylor-guest
Revision: 20902

set HOME to debian/tmp for doc build and tests (Closes: #665224)

Modified:
  packages/ipython/trunk/debian/changelog
  packages/ipython/trunk/debian/rules

Modified: packages/ipython/trunk/debian/changelog
===================================================================
--- packages/ipython/trunk/debian/changelog	2012-03-22 15:21:32 UTC (rev 20901)
+++ packages/ipython/trunk/debian/changelog	2012-03-22 18:06:44 UTC (rev 20902)
@@ -4,8 +4,9 @@
     mathjax can't be securely served from cloudfront.
   * debian/rules: run python3 setup.py clean
   * remove transitional ipython-parallel package
+  * set HOME to debian/tmp for doc build and tests (Closes: #665224) 
 
- -- Julian Taylor <jtaylor.debian at googlemail.com>  Fri, 16 Mar 2012 22:27:48 +0100
+ -- Julian Taylor <jtaylor.debian at googlemail.com>  Thu, 22 Mar 2012 19:05:14 +0100
 
 ipython (0.12-1) unstable; urgency=low
 

Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules	2012-03-22 15:21:32 UTC (rev 20901)
+++ packages/ipython/trunk/debian/rules	2012-03-22 18:06:44 UTC (rev 20902)
@@ -19,19 +19,22 @@
 	done
 
 override_dh_auto_build:
+	mkdir -p $(CURDIR)/debian/tmp
 	dh_auto_build -- --executable '/usr/bin/env python'
 	set -e && for pyvers in $(PY3VERS); do \
 	  $$pyvers setup.py build --executable '/usr/bin/env python3'; \
 	done
 ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=$(CURDIR) $(MAKE) -C $(CURDIR)/docs html
+	HOME=$(CURDIR)/debian/tmp PYTHONPATH=$(CURDIR) $(MAKE) -C $(CURDIR)/docs html
 endif
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# IPython.frontend requires X
 	set -e && for pyvers in $(PYVERS); do \
-	  LC_ALL=C.UTF-8 PATH=$(CURDIR)/IPython/scripts/:$(PATH) PYTHONPATH=$(CURDIR) xvfb-run -s "-screen 0 1280x1024x24 -noreset" \
+	  LC_ALL=C.UTF-8 HOME=$(CURDIR)/debian/tmp \
+	  PATH=$(CURDIR)/IPython/scripts/:$(PATH) PYTHONPATH=$(CURDIR) \
+	  xvfb-run -s "-screen 0 1280x1024x24 -noreset" \
 	  python$$pyvers $(CURDIR)/IPython/scripts/iptest -v -e test_not_writable_ipdir; \
 	done
 endif




More information about the Python-modules-commits mailing list