debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | -include /usr/share/openstack-pkg-tools/pkgos.make |
| 4 | UPSTREAM_GIT = https://github.com/lukecyca/pyzabbix.git |
| 5 | |
| 6 | export PYBUILD_NAME=pyzabbix |
| 7 | export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/ |
| 8 | export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests |
| 9 | export PYBUILD_TEST_ARGS_python3= -v tests |
| 10 | |
| 11 | export no_proxy=example.com |
| 12 | |
| 13 | |
| 14 | %: |
| 15 | dh $@ --buildsystem=pybuild --with python3 |