File: rules

package info (click to toggle)
python-dvdvideo 0.20140413
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 136 kB
  • ctags: 178
  • sloc: python: 894; makefile: 14
file content (25 lines) | stat: -rwxr-xr-x 483 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with python3

PYTHON = python3
PYTEST = py.test-3

override_dh_auto_build:
	$(PYTHON) setup.py build

override_dh_auto_test:
	$(PYTEST) build

override_dh_auto_install:
	$(PYTHON) setup.py install --root=$(CURDIR)/debian/python3-dvdvideo --install-layout=deb

override_dh_auto_clean:
	rm -rf build
	rm -rf *.egg-info
	find . -name __pycache__ -exec rm -r {} \; -prune