File: rules

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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=smstrade
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_TEST_ARGS=unset http_proxy ; unset https_proxy ; cd {build_dir} ; {interpreter} -m pytest
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests

override_dh_installchangelogs:
	dh_installchangelogs -i ChangeLog.rst

override_dh_auto_test:
	dh_auto_test -- --system=custom

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