File: rules

package info (click to toggle)
pytorch-audio 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,696 kB
  • sloc: python: 61,274; cpp: 10,031; sh: 128; ansic: 70; makefile: 34
file content (26 lines) | stat: -rwxr-xr-x 581 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
22
23
24
25
26
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# upstream does not support ffmpeg7, disable it
export USE_FFMPEG=0
# export FFMPEG_ROOT=/usr

%:
	dh $@ -Spybuild --with python3

override_dh_auto_clean:
	-dh_auto_clean

execute_after_dh_clean:
	-$(RM) -vf src/torchaudio/version.py
	-$(RM) -r build/ torchaudio.egg-info/ .pybuild/

#execute_after_dh_install:
	#find . -name *_torchaudio.so* -exec \
	#	patchelf --replace-needed libtorchaudio.so lib/libtorchaudio.so {} \;

override_dh_python3:
	dh_python3 --no-ext-rename

override_dh_auto_test:
	-dh_auto_test