[Python-modules-commits] [nbformat] 07/07: Set default encoding in d/rules

Gordon Ball chronitis-guest at moszumanska.debian.org
Sun Dec 4 12:29:56 UTC 2016


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

chronitis-guest pushed a commit to branch master
in repository nbformat.

commit ee559678b1bc698bbf490e53256312c4e9aeaeb7
Author: Gordon Ball <gordon at chronitis.net>
Date:   Sun Dec 4 13:20:48 2016 +0100

    Set default encoding in d/rules
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 640f3e8..153a78f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ nbformat (4.2.0-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release.
+  * Use LC_ALL=C.UTF-8 in d/rules to avoid encoding errors during testing
 
  -- Gordon Ball <gordon at chronitis.net>  Sun, 04 Dec 2016 12:56:02 +0100
 
diff --git a/debian/rules b/debian/rules
index 1c79574..2662add 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
+export LC_ALL=C.UTF-8
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list