File: rules

package info (click to toggle)
pdd 1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: python: 548; sh: 30; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 390 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

export PYBUILD_NAME=pdd
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	cp pdd pdd.py && cd auto-completion/zsh && python3 zsh_completion.py
	dh_install

override_dh_auto_test:

override_dh_auto_build:
	@python3 -m pytest test.py

override_dh_clean:
	dh_clean
	rm -rf pdd.egg-info/
	rm -rf .pytest_cache .pc
	rm -rf pdd.py auto-completion/zsh/_pdd