File: rules

package info (click to toggle)
tvdb-api 3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,836 kB
  • sloc: python: 961; makefile: 14
file content (23 lines) | stat: -rwxr-xr-x 431 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
#!/usr/bin/make -f

ifneq ($(PYBUILD_AUTOPKGTEST),1)
export PYBUILD_DISABLE=test
endif

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


override_dh_clean:
	dh_clean
	rm -rf tvdb_api.egg-info

override_dh_auto_install:
	dh_auto_install

	python3 setup.py install --root=debian/python3-tvdb-api --install-layout=deb

	rm -rf debian/*/usr/lib/python*/*-packages/tvdb_api*.egg-info

override_dh_installdocs:
	dh_installdocs README.md