[Python-modules-commits] [python-django] 01/09: Rely on C.UTF-8 to run the tests instead of building our locale ourselves.
Raphaël Hertzog
hertzog at moszumanska.debian.org
Wed Nov 25 15:19:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
hertzog pushed a commit to branch debian/master
in repository python-django.
commit 2f43f412658135a95b7fb6b38bca58375f35e78d
Author: Raphaël Hertzog <hertzog at debian.org>
Date: Wed Nov 25 12:33:03 2015 +0100
Rely on C.UTF-8 to run the tests instead of building our locale ourselves.
---
debian/changelog | 6 ++++++
debian/rules | 7 ++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f484d94..ac2c4a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-django (1.8.7-2) UNRELEASED; urgency=medium
+
+ * Rely on C.UTF-8 to run the tests instead of building our locale ourselves.
+
+ -- Raphaël Hertzog <hertzog at debian.org> Wed, 25 Nov 2015 12:32:25 +0100
+
python-django (1.8.7-1) unstable; urgency=high
* New upstream security release:
diff --git a/debian/rules b/debian/rules
index 9ef53f7..65e4cfa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,11 +19,8 @@ override_dh_auto_build:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- mkdir -p tmp-locales
- localedef -i /usr/share/i18n/locales/en_US -c -f UTF-8 -A /usr/share/locale/locale.alias tmp-locales/en_US.UTF-8
- cd tests && LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=.. python ./runtests.py --verbosity=2
- cd tests && LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=.. python3 ./runtests.py --verbosity=2
- rm -rf tmp-locales
+ cd tests && LC_ALL=C.UTF-8 PYTHONPATH=.. python ./runtests.py --verbosity=2
+ cd tests && LC_ALL=C.UTF-8 PYTHONPATH=.. python3 ./runtests.py --verbosity=2
endif
override_dh_clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django.git
More information about the Python-modules-commits
mailing list