File: rules

package info (click to toggle)
python-graphviz 0.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 712 kB
  • sloc: python: 1,821; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 573 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=graphviz
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/test-output'
export PYBUILD_TEST_ARGS=-k 'not test_pipe_pipe_invalid_data_mocked'

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

override_dh_auto_clean:
	rm -rf .cache .pytest_cache
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/python3-graphviz/usr/lib/python3*/dist-packages/.coverage
	rm -rf debian/python3-graphviz/usr/lib/python3*/dist-packages/htmlcov
	rm -f  debian/python3-graphviz/usr/lib/python3*/dist-packages/test-log.txt