File: rules

package info (click to toggle)
python-statsd 3.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 268 kB
  • ctags: 380
  • sloc: python: 844; makefile: 134
file content (21 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=statsd

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

get-orig-source:
	uscan --download-current-version --rename --destdir ../tarballs

override_dh_clean:
	dh_clean
	# dh_clean does not support recursive deletions via debian/clean
	# so we have to explicitly delete the egg directories there.
	# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511048
	rm -rf mock-*.egg
	rm -rf nose-*.egg

.PHONY: get-orig-source override_dh_clean