[Python-modules-commits] [python-docutils] 01/01: Run the tests with SOURCE_DATE_EPOCH unset.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Wed Jul 27 07:36:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository python-docutils.

commit 3ee4b8750dd467f0c87036a4573d07774382e2c1
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Wed Jul 27 10:35:52 2016 +0300

    Run the tests with SOURCE_DATE_EPOCH unset.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8b72c08..787ed9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ python-docutils (0.12+dfsg-2) UNRELEASED; urgency=medium
   * Use new repacksuffix option in debian/watch.
   * Add support for SOURCE_DATE_EPOCH to date directive, thanks to Chris Lamb
     for the patch (source-date-epoch.diff; closes: #831779).
+  * Run the tests with SOURCE_DATE_EPOCH unset.
   * Bump Standards-Version to 3.9.8, no changes needed.
 
   [ Ondřej Nový ]
diff --git a/debian/rules b/debian/rules
index ca51d90..eaab138 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,7 +41,7 @@ build-stamp:
 	python setup.py build --build-lib=build/py2/
 ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
 	# Run test suite for Python 2.X:
-	$(python_all) test/alltests.py --verbose
+	unset SOURCE_DATE_EPOCH; $(python_all) test/alltests.py --verbose
 	# Run rst-buildhtml tests:
 	PYTHONPATH=$(CURDIR)/build/py2 python tools/test/test_buildhtml.py --verbose
 endif
@@ -49,7 +49,7 @@ endif
 	python3 setup.py build --build-lib=build/py3/
 ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
 	# Run test suite for Python 3.X:
-	$(python3_all) test3/alltests.py --verbose
+	unset SOURCE_DATE_EPOCH; $(python3_all) test3/alltests.py --verbose
 endif
 	# Build documentation:
 	PYTHONPATH=. python tools/buildhtml.py \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-docutils.git



More information about the Python-modules-commits mailing list