File: rules

package info (click to toggle)
python-aiohttp 0.17.2-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 2,368 kB
  • sloc: python: 19,899; makefile: 205
file content (17 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME = aiohttp

%:
	dh $@ --with python3,sphinxdoc --buildsystem pybuild

# Until bug #749506 in pybuild is fixed.
PYTHON3:=$(shell py3versions -vs)

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	set -e; \
	for i in $(PYTHON3) ; do \
		python$$i -m nose ./tests/ || true; \
	done
endif