[Python-modules-commits] [python-click-log] 02/02: Fix python3 tests
Filip Pytloun
fpytloun-guest at moszumanska.debian.org
Tue Aug 9 10:29:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
fpytloun-guest pushed a commit to branch master
in repository python-click-log.
commit 54343cf0db7fc79db2bc5cc9ba0c0ab8cc3e2d02
Author: Filip Pytloun <filip at pytloun.cz>
Date: Tue Aug 9 12:22:59 2016 +0200
Fix python3 tests
---
debian/control | 1 +
debian/rules | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/debian/control b/debian/control
index 8cd7644..f7f009c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ 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 0e957dc..8dd8847 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,10 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-click-log-doc/usr/share/doc/python-click-log-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
endif
+
+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
--
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