File: rules

package info (click to toggle)
astroid 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,896 kB
  • sloc: python: 20,125; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

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

export PYBUILD_NAME=astroid
export PYBUILD_BEFORE_TEST=cp {dir}/pytest.ini {build_dir}; cp -r {dir}/astroid/tests {build_dir}/astroid/
export PYBUILD_AFTER_TEST=rm {build_dir}/pytest.ini; rm -r {build_dir}/astroid/tests

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

override_dh_installdocs:
	dh_installdocs -i README.rst

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/.eggs