File: rules

package info (click to toggle)
python-xlrd 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,204 kB
  • ctags: 1,139
  • sloc: python: 9,303; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME = xlrd
export PYBUILD_BEFORE_TEST=ln -s {dir}/xlrd/examples {build_dir}/xlrd/.
export PYBUILD_AFTER_TEST=rm {build_dir}/xlrd/examples

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

override_dh_auto_install:
	dh_auto_install
	mv debian/python-xlrd/usr/bin/runxlrd.py debian/python-xlrd/usr/bin/runxlrd
	rm debian/python3-xlrd/usr/bin/runxlrd.py