File: rules

package info (click to toggle)
msgpack-python 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 964 kB
  • ctags: 1,594
  • sloc: cpp: 1,498; python: 1,434; makefile: 21
file content (28 lines) | stat: -rwxr-xr-x 971 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=msgpack

PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)

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

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	set -e ; for pyvers in $(PYTHONS) ; do \
		echo "===> Testing with Python$$pyvers" ; \
		PYTHON=python$$pyvers nosetests ; \
	done
	set -e ; for pyvers in $(PYTHON3S) ; do \
		echo "===> Testing with Python$$pyvers" ; \
		PYTHON=python$$pyvers nosetests3 ; \
	done
endif

# Commands not to run
override_dh_installcatalogs override_dh_installemacsen override_dh_installifupdown:
override_dh_installinfo override_dh_installmenu override_dh_installmime:
override_dh_installmodules override_dh_installlogcheck:
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal: