#!/usr/bin/make -f

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

%:
	dh $@ --with python2

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	python setup.py build_ext -i && nosetests lib/pywcs/tests/test.py
endif

override_dh_shlibdeps:
	dh_shlibdeps
	dh_numpy
