[SCM] Core functionality for performing astronomy and astrophysics with Python branch, debian, updated. a81903275300800b3e6b02a179e82ae706ae045a

Ole Streicher debian at liska.ath.cx
Wed Apr 10 08:19:41 UTC 2013


The following commit has been merged in the debian branch:
commit 52f931744438ef4891fcc91e960d2bc7f15f9607
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Apr 10 09:10:46 2013 +0200

    Fix FTBS: set a writeable HOME + MPLCONFIGDIR

diff --git a/debian/changelog b/debian/changelog
index 0e6ec1d..736c145 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-python-astropy (0.2.1-1) unstable; urgency=low
+python-astropy (0.2.1-1~exp1) unstable; urgency=low
 
   * New upstream release
-  * Build python3 packages
+  * Fix FTBS: set a writeable HOME + MPLCONFIGDIR
 
- -- Ole Streicher <debian at liska.ath.cx>  Thu, 04 Apr 2013 10:10:00 +0200
+ -- Ole Streicher <debian at liska.ath.cx>  Thu, 10 Apr 2013 09:10:00 +0200
 
 python-astropy (0.2~b2-1) experimental; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 0d3b043..9387827 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 PYTHON2:=$(shell pyversions -vr)
 PYTHON3:=$(shell py3versions -vr)
 
+# set the MPLCONFIGDIR to avoid writing into non writable location
+export HOME=$(CURDIR)/build
+export MPLCONFIGDIR=$(CURDIR)/build
+
 # Prevent setuptools/distribute from accessing the internet.
 export http_proxy = http://127.0.9.1:9
 

-- 
Core functionality for performing astronomy and astrophysics with Python



More information about the debian-science-commits mailing list