File: rules

package info (click to toggle)
seaborn 0.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,232 kB
  • sloc: python: 25,600; makefile: 185; javascript: 45; sh: 2
file content (26 lines) | stat: -rwxr-xr-x 628 bytes parent folder | download | duplicates (2)
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