File: rules

package info (click to toggle)
tryton-modules-dashboard 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 320 kB
  • ctags: 64
  • sloc: python: 309; xml: 95; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download | duplicates (79)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}')

# Don't run tests for Tryton modules, they try to download dependencies from pypi
export PYBUILD_DISABLE_python2.7=test

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

override_dh_gencontrol:
	dh_gencontrol -- -Vversion:major="$(MAJOR)"