File: rules

package info (click to toggle)
python-whisper 1.1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: python: 2,678; makefile: 9; sh: 3
file content (15 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
export PYBUILD_NAME=whisper

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

override_dh_install:
	# update-storage-times does not work installed
	rm debian/python3-whisper/usr/bin/update-storage-times.py
	# whisper-auto-update needs to be edited to be usable (callback
	# needs to be defined). Useless installed.
	rm debian/python3-whisper/usr/bin/whisper-auto-update.py
	rename 's/\.py//' debian/python3-whisper/usr/bin/*.py
	chmod +x  debian/python3-whisper/usr/bin/find-corrupt-whisper-files
	dh_install