File: rules

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

%:
	dh $@ --with python2

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	set -e; \
	for py in $(shell pyversions -r); do \
		$$py -m bunch.test -v; \
	done
endif

override_dh_auto_install:
	dh_auto_install
	rm -f debian/python-bunch/usr/lib/python2*/dist-packages/bunch-*.egg-info/SOURCES.txt