[Python-modules-commits] [incremental] 01/02: Set locale to UTF-8 to fix FTBFS (Closes: #842748)

Free Ekanayaka freee at moszumanska.debian.org
Wed Nov 2 10:39:02 UTC 2016


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

freee pushed a commit to branch master
in repository incremental.

commit 6928debfe8a7d72b09bea475541c8e54d9ccae9c
Author: Free Ekanayaka <freee at debian.org>
Date:   Wed Nov 2 10:28:04 2016 +0000

    Set locale to UTF-8 to fix FTBFS (Closes: #842748)
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index c06eef5..14ba913 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,14 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=incremental
+
+# XXX Unit tests seem to leave cruft around, for some reason
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/incremental.tests.*
 
+# XXX Needed by Python click, since builders don't have utf-8
+# set by default. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842748
+export LC_ALL=C.UTF-8
+export LANG=C.UTF-8
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list