File: rules

package info (click to toggle)
python-asteval 1.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 296 kB
  • sloc: python: 2,606; makefile: 53
file content (16 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=asteval
export PYBUILD_TEST_PYTEST=1

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_clean:
	rm -f ./asteval/version.py

execute_after_dh_auto_install:
	# Drop files related to python3-coverage
	rm -f debian/*/usr/lib/python3*/dist-packages/.coverage
	rm -f debian/*/usr/lib/python3*/dist-packages/coverage.xml
	rm -rf debian/*/usr/lib/python3*/dist-packages/htmlcov