File: rules

package info (click to toggle)
python-pyperclip 1.5.27-3~deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 140 kB
  • sloc: python: 405; makefile: 150
file content (14 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=pyperclip

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

override_dh_auto_test:
	# manually run tests for python2
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	xvfb-run python tests/test_copy_paste.py
	# # run manually tests for python3
	# xvfb-run python3 tests/test_copy_paste.py
endif