summaryrefslogtreecommitdiffstats
path: root/tests/t301/debian/rules
blob: 9c1bdff857ebb0556eb14f349ba5c4ff64bee837 (plain)
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
%:
	dh $@ --buildsystem=python_distutils

override_dh_auto_install:
	python3 setup.py install --root=debian/python3-foo/

override_dh_install:
	dh_install
	find debian/ -name jquery.js -exec \
	ln -fs /usr/share/javascript/jquery/jquery.js '{}' \;
	DH_VERBOSE=1 ../../dh_python3\
		--depends 'SQLAlchemy >= 0.6.1'\
		--recommends Mako\
		--suggests 'Foo >= 0.1'\
		--suggests 'bar >= 1.0'

clean:
	rm -rf build
	dh clean

override_dh_auto_build:

override_dh_auto_clean:
	#python3 setup.py clean