2013-04-22 21:04:57 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2016-07-08 23:35:51 +00:00
|
|
|
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
|
|
|
|
export LANGUAGE =
|
2013-04-23 14:25:21 +00:00
|
|
|
|
2016-07-08 23:35:51 +00:00
|
|
|
%:
|
|
|
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
2013-04-23 14:25:21 +00:00
|
|
|
|
2016-07-08 23:35:51 +00:00
|
|
|
# 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
|