~sergiodj/debian_kitchen

eb352bbe88dc041337590419bd85b3f01bec8f9f — Sergio Durigan Junior 7 years ago 7299d28
Further improvements on debian/rules.
1 files changed, 1 insertions(+), 13 deletions(-)

M debian/rules
M debian/rules => debian/rules +1 -13
@@ 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