File: rules

package info (click to toggle)
progressbar2 4.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,216 kB
  • sloc: python: 8,001; makefile: 155
file content (17 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=progressbar2
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=tests --no-cov
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/lib/*/*/debian {destdir}/usr/lib/*/*/progressbar

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build:
	ln -s progressbar progressbar2
	dh_auto_build

override_dh_auto_clean:
	dh_auto_clean
	rm -rf progressbar2.egg-info/ progressbar2