File: rules

package info (click to toggle)
django-picklefield 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 176 kB
  • sloc: python: 381; makefile: 8; sh: 6
file content (13 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=django-picklefield

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

override_dh_installchangelogs:
	sed -n -e '/^Changes in version/,$$ { /^---/q; p }' < README.rst >changelog
	dh_installchangelogs changelog

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter} -m django test --settings=tests.settings"