File: rules

package info (click to toggle)
django-fsm 2.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 280 kB
  • sloc: python: 1,622; makefile: 9; sh: 6
file content (17 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=django-fsm
export PYBUILD_TEST="{interpreter} tests/manage.py"

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} tests/manage.py" dh_auto_test

override_dh_installchangelogs:
	awk '/^Changelog/,EOF { print $0 }' README.rst >changelog
	dh_installchangelogs -- changelog