File: rules

package info (click to toggle)
tryton-proteus 5.0.1-3%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 372 kB
  • sloc: python: 2,451; makefile: 6; sh: 1
file content (15 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

# Don't run tests for Tryton proteus, they depend on trytond and other modules
# of the same version, that are not yet available at build time from the archive
# in case of new releases.
# For the complete test suites refer to http://tests.tryton.org/
export PYBUILD_DISABLE=test

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

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