File: rules

package info (click to toggle)
sqlobject 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,880 kB
  • ctags: 3,020
  • sloc: python: 15,679; sh: 28; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DH_ALWAYS_EXCLUDE=tests:dbs_data.tmp
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS="{dir}"

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

override_dh_installdocs:
	docs/rebuild
	dh_installdocs

override_dh_installchangelogs:
	dh_installchangelogs -k docs/News.txt

override_dh_python2:
	dh_python2 --shebang=/usr/bin/python