File: rules

package info (click to toggle)
tqdm 4.67.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 720 kB
  • sloc: python: 5,610; makefile: 160; sh: 16
file content (22 lines) | stat: -rwxr-xr-x 615 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
#!/usr/bin/make -f

export PYBUILD_TEST_ARGS=--verbose -k 'not test_comppath and not test_imap and not test_manpath and not test_keras'

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

execute_after_dh_auto_clean:
	# help pybuild
	rm -rf *.egg-info

execute_after_dh_auto_install:
	# bash-completion
	mkdir -p debian/python3-tqdm/usr/share/bash-completion/completions
	cp tqdm/completion.sh debian/python3-tqdm/usr/share/bash-completion/completions/tqdm

execute_after_dh_python3:
	# removing unused files
	rm -rf debian/python3-tqdm/usr/lib/python3/dist-packages/debian

override_dh_compress:
	dh_compress -X.py