File: rules

package info (click to toggle)
aioftp 0.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 580 kB
  • sloc: python: 4,853; makefile: 172
file content (23 lines) | stat: -rwxr-xr-x 493 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

export PYBUILD_NAME=aioftp
export PYBUILD_AFTER_INSTALL=rm -rfv {destdir}{install_dir}/.coverage

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


override_dh_auto_clean:
	rm -rf .pytest_cache
	dh_auto_clean

override_dh_auto_build:
	dh_auto_build
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
	PYTHONPATH=src http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
endif

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
	dh_auto_test
endif