File: rules

package info (click to toggle)
python-opcua 0.98.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,416 kB
  • sloc: xml: 100,106; python: 48,535; makefile: 168; sh: 7
file content (20 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export PYBUILD_NAME=opcua

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

override_dh_python2:
	dh_python2 -O--buildsystem=pybuild
	rm -fr ./debian/python-opcua/usr/bin

override_dh_python3:
	dh_python3 -O--buildsystem=pybuild
	rm -fr ./debian/python3-opcua/usr/bin

override_dh_auto_test:
	python tests/tests.py
	python3 tests/tests.py