File: rules

package info (click to toggle)
python-ipaddr 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 212 kB
  • sloc: python: 1,874; makefile: 10; sh: 2
file content (15 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python $(CURDIR)/ipaddr_test.py
endif

override_dh_auto_clean:
	rm -rf $(CURDIR)/ipaddr.pyc
	rm -rf $(CURDIR)/build
	dh_clean