File: rules

package info (click to toggle)
lexicon 3.21.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 72,684 kB
  • sloc: python: 20,075; sh: 94; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 466 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
#export DH_VERBOSE = 1

export PYBUILD_NAME=lexicon
export PYBUILD_DESTDIR_python3=debian/python3-${PYBUILD_NAME}
export PYBUILD_SYSTEM=pyproject

%:
	dh $@ --buildsystem=pybuild


override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	pytest-3 tests/ -o pythonpath=src -k "not auto and not localzone and not oci"
endif

execute_after_dh_auto_install:
	dh_movefiles --package=lexicon --sourcedir=$(PYBUILD_DESTDIR_python3) usr/bin