File: rules

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

-include /usr/share/openstack-pkg-tools/pkgos.make
UPSTREAM_GIT = https://github.com/lukecyca/pyzabbix.git

export PYBUILD_NAME=pyzabbix
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
export PYBUILD_TEST_ARGS_python3=tests

export no_proxy=example.com


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