diff --git a/debian/changelog b/debian/changelog index e590a04e1fc9b60d2af69a6c9f22a3aeb9e4e572..bd61797a4da239e61634d96581635b2a975567ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +scikit-learn (0.3-3) unstable; urgency=low + + * Set HOME and MPLCONFIGDIR while unittesting as well (Closes: #580727) + + -- Yaroslav Halchenko <debian@onerussian.com> Sat, 08 May 2010 12:47:07 -0400 + scikit-learn (0.3-2) unstable; urgency=low * Setting both HOME and MPLCONFIGDIR while building documentation diff --git a/debian/rules b/debian/rules index 300f95076e207e5503fb81ec882eda005df2605c..8c585626a9171ef138a07b22186ada69a5d2ca23 100755 --- a/debian/rules +++ b/debian/rules @@ -37,7 +37,8 @@ python-install%: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) : # Run unittests - python$* /usr/bin/nosetests --exclude manifold \ + export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \ + python$* /usr/bin/nosetests --exclude manifold \ $(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/scikits/learn else : # Skip unittests due to nocheck