File: rules

package info (click to toggle)
python-tz 2010b-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,144 kB
  • ctags: 267
  • sloc: python: 2,192; makefile: 6
file content (11 lines) | stat: -rwxr-xr-x 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

%:
	dh --with pydeb --with python-central --with quilt $@

override_dh_install:
	dh_install
	# install our testing package
	install -D debian/test-pytz debian/python-tz/usr/lib/python-tz/test-pytz.py
	# remove zoneinfo, our patch to pytz makes it use the one from tzdata
	rm -rf debian/python-tz/usr/lib/python*/*-packages/pytz/zoneinfo