diff --git a/debian/rules b/debian/rules index faab9f0..5718779 100755 --- a/debian/rules +++ b/debian/rules @@ -4,20 +4,8 @@ export PYBUILD_NAME = kitchen export PYBUILD_BEFORE_TEST_python2 = cp -a {dir}/kitchen2/tests {build_dir}/tests export PYBUILD_BEFORE_TEST_python3 = cp -a {dir}/kitchen3/tests {build_dir}/tests export PYBUILD_AFTER_TEST = rm -rf {build_dir}/tests +# Necessary because of the i18n tests export LANGUAGE = %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild - -# override_dh_auto_test: -# ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) -# mkdir -p debian/tmp/locales -# localedef -f UTF-8 -i en_US ./debian/tmp/locales/en_US.UTF-8/ -# localedef -f UTF-8 -i pt_BR ./debian/tmp/locales/pt_BR.UTF-8/ -# localedef -f ISO-8859-1 -i pt_BR ./debian/tmp/locales/pt_BR.ISO-8859-1/ -# LOCPATH=$(CURDIR)/debian/tmp/locales dh_auto_test -# set -e; \ -# for py in $(shell pyversions -r); do \ -# LOCPATH=$(CURDIR)/debian/tmp/locales/ $$py /usr/bin/nosetests tests; \ -# done -# endif