File: rules

package info (click to toggle)
python-pywcs 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,044 kB
  • ctags: 14,301
  • sloc: ansic: 31,568; lex: 6,170; fortran: 6,079; python: 4,345; sh: 3,479; sed: 408; makefile: 79
file content (16 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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