[Python-modules-commits] [python-click-log] 03/03: Simplified locales workaround for tests

Ondřej Nový onovy at moszumanska.debian.org
Tue Aug 9 13:56:09 UTC 2016


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

onovy pushed a commit to branch master
in repository python-click-log.

commit f43411c20233881f28525f89c9e1b6a041976df2
Author: Ondřej Nový <onovy at debian.org>
Date:   Tue Aug 9 15:55:56 2016 +0200

    Simplified locales workaround for tests
---
 debian/control | 1 -
 debian/rules   | 6 +-----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index cb30308..3a21137 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python (>= 2.20160609~),
-               locales,
                python-all,
                python-click,
                python-pytest,
diff --git a/debian/rules b/debian/rules
index 5125514..fc349e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,4 @@ override_dh_installdocs:
 	dh_installdocs -A README.rst
 
 override_dh_auto_test:
-	mkdir -p debian/tmp/locale/
-	localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
-	export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
-	export LC_ALL=en_US.UTF-8 && \
-	dh_auto_test
+	LC_ALL=C.UTF-8 dh_auto_test

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



More information about the Python-modules-commits mailing list