[Python-modules-commits] r17872 - in packages/python-stdnum/trunk/debian (changelog rules)

adejong at users.alioth.debian.org adejong at users.alioth.debian.org
Mon Jul 18 21:20:25 UTC 2011


    Date: Monday, July 18, 2011 @ 21:20:24
  Author: adejong
Revision: 17872

  * Explicitly set the character encoding to use to UTF-8 during build to
    fix problem with building with Python3 distutils

Modified:
  packages/python-stdnum/trunk/debian/changelog
  packages/python-stdnum/trunk/debian/rules

Modified: packages/python-stdnum/trunk/debian/changelog
===================================================================
--- packages/python-stdnum/trunk/debian/changelog	2011-07-18 20:58:22 UTC (rev 17871)
+++ packages/python-stdnum/trunk/debian/changelog	2011-07-18 21:20:24 UTC (rev 17872)
@@ -1,8 +1,10 @@
 python-stdnum (0.5-2) UNRELEASED; urgency=low
 
   * Add python3-setuptools to Build-Depends (closes: #634011)
+  * Explicitly set the character encoding to use to UTF-8 during build to
+    fix problem with building with Python3 distutils
 
- -- Arthur de Jong <adejong at debian.org>  Sat, 16 Jul 2011 14:30:00 +0200
+ -- Arthur de Jong <adejong at debian.org>  Mon, 18 Jul 2011 23:15:00 +0200
 
 python-stdnum (0.5-1) unstable; urgency=low
 

Modified: packages/python-stdnum/trunk/debian/rules
===================================================================
--- packages/python-stdnum/trunk/debian/rules	2011-07-18 20:58:22 UTC (rev 17871)
+++ packages/python-stdnum/trunk/debian/rules	2011-07-18 21:20:24 UTC (rev 17872)
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
+
+# Explicitly set LC_ALL (LC_CTYPE isn't enough) to ensure Python3
+# generates UTF-8 files by default. This should no longer be needed when
+# distutils is fixed, see http://bugs.python.org/issue9561
+export LC_ALL=C.UTF-8
+
 %:
 	dh $@ --with python2,python3
 




More information about the Python-modules-commits mailing list