File: rules

package info (click to toggle)
python-mimeparse 1.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 112 kB
  • sloc: python: 170; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

export PYBUILD_NAME=mimeparse

export PYBUILD_TEST_PYTEST := 1
export PYBUILD_BEFORE_TEST=cp mimeparse_test.py testdata.json {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/mimeparse_test.py {build_dir}/testdata.json

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