File: rules

package info (click to toggle)
python-altair 4.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,444 kB
  • sloc: python: 20,777; makefile: 218; sh: 14
file content (23 lines) | stat: -rwxr-xr-x 886 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=altair

# temporarily disable checks. altair needs vega_datasets
# but we need it enters into Debian first.
# See https://bugs.debian.org/941666
export DEB_BUILD_OPTIONS=nocheck

%:
	#dh $@ --with python3,sphinxdoc --buildsystem=pybuild
	dh $@ --with python3 --buildsystem=pybuild

# TODO: Most of the html documentation fetches JS scripts from an external
# source (cdn.jsdelivr.net). Enable building it just when a local copy of
# those scripts becomes available. If ever possible.
#override_dh_auto_build:
#	dh_auto_build
#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html # HTML generator
#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman doc/ build/man # Manpage generator