File: rules

package info (click to toggle)
pydoctor 25.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,944 kB
  • sloc: python: 25,190; javascript: 2,561; ansic: 57; makefile: 25; sh: 24
file content (25 lines) | stat: -rwxr-xr-x 821 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
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE = 1

export PYBUILD_NAME := pydoctor
export PYBUILD_BEFORE_TEST=cp -r {dir}/pydoctor/test/testpackages {build_dir}/pydoctor/test; \
                           cp -r {dir}/pydoctor/test/testcustomtemplates {build_dir}/pydoctor/test; \
                           rm -f {build_dir}/pydoctor/test/test_napoleon_docstring.py

export PYBUILD_AFTER_TEST=rm -rf {build_dir}/pydoctor/test

export PYBUILD_TEST_ARGS= -W 'once::DeprecationWarning' -k '\
    not test_c_module_python_module_name_clash and \
    not test_c_module_text_signature and \
    not test_cyclic_imports_base_classes and \
    not test_expressions_parens and \
    not test_unquote_naughty_quoted_strings \
    '

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	PYTHONDEVMODE=1 dh_auto_test