[Python-modules-commits] r22384 - in packages/ipython/trunk/debian (changelog rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sat Jun 30 13:24:29 UTC 2012


    Date: Saturday, June 30, 2012 @ 13:24:28
  Author: jtaylor-guest
Revision: 22384

build with LC_ALL=C.UTF-8 to avoid a unicode issue in setupbase.py

https://github.com/ipython/ipython/issues/2057

Modified:
  packages/ipython/trunk/debian/changelog
  packages/ipython/trunk/debian/rules

Modified: packages/ipython/trunk/debian/changelog
===================================================================
--- packages/ipython/trunk/debian/changelog	2012-06-30 13:24:22 UTC (rev 22383)
+++ packages/ipython/trunk/debian/changelog	2012-06-30 13:24:28 UTC (rev 22384)
@@ -8,8 +8,9 @@
   * drop libjs-jquery-ui dependency, use the embedded development branch
   * don't compress the examples
   * remove executable permissions on embedded codemirror files
+  * build with LC_ALL=C.UTF-8 to avoid a unicode issue in setupbase.py
 
- -- Julian Taylor <jtaylor.debian at googlemail.com>  Sat, 30 Jun 2012 12:37:21 +0200
+ -- Julian Taylor <jtaylor.debian at googlemail.com>  Sat, 30 Jun 2012 12:50:17 +0200
 
 ipython (0.12.1+dfsg-2) unstable; urgency=low
 

Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules	2012-06-30 13:24:22 UTC (rev 22383)
+++ packages/ipython/trunk/debian/rules	2012-06-30 13:24:28 UTC (rev 22384)
@@ -14,8 +14,9 @@
 
 override_dh_auto_build:
 	dh_auto_build -- --executable '/usr/bin/env python'
+	# utf-8 due to https://github.com/ipython/ipython/issues/2057
 	set -e && for pyvers in $(PY3VERS); do \
-	  $$pyvers setup.py build --executable '/usr/bin/env python3'; \
+	  LC_ALL=C.UTF-8 $$pyvers setup.py build --executable '/usr/bin/env python3'; \
 	done
 
 ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
@@ -36,7 +37,7 @@
 override_dh_auto_install:
 	dh_auto_install
 	set -e && for pyvers in $(PY3VERS); do \
-	  $$pyvers setup.py install --install-layout=deb \
+	  LC_ALL=C.UTF-8 $$pyvers setup.py install --install-layout=deb \
 		--force --no-compile -O0 --root=$(CURDIR)/debian/tmp; \
 	done
 	# py3 uses entrypoints where --excutable in build has no effect




More information about the Python-modules-commits mailing list