File: rules

package info (click to toggle)
nfoview 2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 592 kB
  • sloc: python: 1,284; makefile: 114; sh: 94
file content (18 lines) | stat: -rwxr-xr-x 490 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

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

export PYBUILD_SYSTEM=custom
export PYBUILD_BUILD_ARGS=$(MAKE) build
export PYBUILD_INSTALL_ARGS=$(MAKE) install DESTDIR=debian/nfoview
export PYBUILD_CLEAN_ARGS=$(MAKE) clean

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs -k NEWS.md

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="xvfb-run -a {interpreter} -m pytest --tb=no nfoview" dh_auto_test