File: rules

package info (click to toggle)
plover 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,356 kB
  • sloc: python: 21,589; sh: 682; ansic: 25; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME = plover
export PY3VERSION := $(shell py3versions -d)

%:
	dh $@ --buildsystem=pybuild

# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=plover
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 -m pytest -p pytest-qt -p xvfb
endif

execute_after_dh_auto_install:
	rm -rvf debian/plover/usr/lib/$(PY3VERSION)/dist-packages/plover_build_utils
	find debian/plover/ -name .gitignore -delete