File: rules

package info (click to toggle)
python-azure-devtools 1.2.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 832 kB
  • sloc: python: 1,850; makefile: 8; sh: 2
file content (15 lines) | stat: -rwxr-xr-x 606 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

export PYBUILD_NAME=azure-devtools

# The tests for ci_tools depend on network access; cp -r src/azure_devtools/ci_tools/tests {build_dir}/tests/ci_tools
export PYBUILD_BEFORE_TEST=mkdir {build_dir}/tests; cp -r src/azure_devtools/scenario_tests/tests {build_dir}/tests/scenario
export PYBUILD_AFTER_TEST=rm -r {build_dir}/tests
# This test is broken and not very useful, skip it
export PYBUILD_TEST_ARGS=-v --ignore=tests/scenario/test_integration_test_base.py -k 'not test_preparer_order'

%:
	dh $@ --buildsystem=pybuild

override_dh_python3:
	dh_python3 --suggests-section=ci_tools