1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
DH_VERBOSE=1
export PYBUILD_NAME=seaborn
export MPLCONFIGDIR=$(CURDIR)/build
export HOME=$(CURDIR)/build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
%:
dh $@ --with python3 --buildsystem=pybuild
# Assure Agg backend for matplotlib to avoid any possible complication
# and failed unittests, as in #802412
override_dh_auto_configure:
mkdir -p $(MPLCONFIGDIR)
echo "backend : Agg" >| $(MPLCONFIGDIR)/matplotlibrc
dh_auto_configure
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
xvfb-run --auto-servernum --server-num=20 dh_auto_test $@
endif
|