File: rules

package info (click to toggle)
python-park 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 120 kB
  • ctags: 73
  • sloc: python: 389; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export PYTHONWARNINGS=d

# Prevent setuptools/distribute from accessing the internet.
export http_proxy = http://127.0.0.1:9/

PYVERS := $(shell pyversions -r)

%:
	dh $@ --with python2

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	set -ex; \
	for python in $(PYVERS); do \
		$$python setup.py test -vv; \
	done
endif