[Python-apps-commits] r10116 - in packages/s3ql/trunk/debian (changelog rules)
nikratio-guest at users.alioth.debian.org
nikratio-guest at users.alioth.debian.org
Sun Oct 20 18:47:48 UTC 2013
Date: Sunday, October 20, 2013 @ 18:47:46
Author: nikratio-guest
Revision: 10116
Do not try to write logfiles into $HOME when running self tests.
Modified:
packages/s3ql/trunk/debian/changelog
packages/s3ql/trunk/debian/rules
Modified: packages/s3ql/trunk/debian/changelog
===================================================================
--- packages/s3ql/trunk/debian/changelog 2013-10-20 12:17:17 UTC (rev 10115)
+++ packages/s3ql/trunk/debian/changelog 2013-10-20 18:47:46 UTC (rev 10116)
@@ -1,3 +1,9 @@
+s3ql (2.5-2) unstable; urgency=low
+
+ * Do not try to write logfiles into $HOME when running self tests.
+
+ -- Nikolaus Rath <Nikolaus at rath.org> Sun, 20 Oct 2013 11:38:32 -0700
+
s3ql (2.5-1) unstable; urgency=low
* Added patch for Sphinx 1.1.3 compatibility.
Modified: packages/s3ql/trunk/debian/rules
===================================================================
--- packages/s3ql/trunk/debian/rules 2013-10-20 12:17:17 UTC (rev 10115)
+++ packages/s3ql/trunk/debian/rules 2013-10-20 18:47:46 UTC (rev 10116)
@@ -52,7 +52,9 @@
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
python3 setup.py build_ext --inplace
- py.test-3 tests/
+ # Some tests will try to create log files in $HOME
+ mkdir -p debian/tmphome
+ HOME=$(CURDIR)/debian/tmphome py.test-3 tests/
endif
override_dh_install:
@@ -93,6 +95,7 @@
-o \( -name '*.so' -type f \) \
\) -prune -exec rm -rf '{}' +
rm -rf build-python build_cython build_sphinx build-stamp
+ rm -rf debian/tmphome
override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
More information about the Python-apps-commits
mailing list