File: rules

package info (click to toggle)
pyxnat 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,204 kB
  • sloc: python: 6,065; makefile: 18; sh: 17; xml: 11
file content (29 lines) | stat: -rwxr-xr-x 1,359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pyxnat

export PYBUILD_BEFORE_TEST=cp -a pyxnat/tests {build_dir}/pyxnat ; \
                           rm {build_dir}/pyxnat/tests/0_setup_dock_xnat_test.py; \
                           rm {build_dir}/pyxnat/tests/attributes_test.py ; \
                           rm {build_dir}/pyxnat/tests/custom_variables_test.py ; \
                           rm {build_dir}/pyxnat/tests/experiments_tests.py ; \
                           rm {build_dir}/pyxnat/tests/provenance_test.py ; \
                           rm {build_dir}/pyxnat/tests/resources_test.py ; \
                           rm {build_dir}/pyxnat/tests/scans_tests.py ; \
                           rm {build_dir}/pyxnat/tests/search_test.py ; \
                           rm {build_dir}/pyxnat/tests/user_and_project_management_test.py ; \
                           rm {build_dir}/pyxnat/tests/xpath_test.py ;
#export PYBUILD_AFTER_TEST=rm {build_dir}/pyxnat/tests/central.cfg ; \
#                          rm {build_dir}/pyxnat/tests/hello_dir.zip
export PYXNAT_SKIP_NETWORK_TESTS=yes

PYBUILD_TEST_ARGS_python3=-k-Xtest_close_jsession -k-Xtest_001_sessionmirror

export  http_proxy=http://127.0.0.1:9/
export  https_proxy=http://127.0.0.1:9/

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