File: rules

package info (click to toggle)
python-screed 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 912 kB
  • sloc: python: 4,751; makefile: 216; sh: 32
file content (20 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export PYBUILD_NAME=screed

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_install
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="export PATH={destdir}/usr/usr/bin:$$PATH {interpreter} -m pytest -m 'not known_failing'"
endif

#override_dh_auto_build:
#	dh_auto_build
#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html